Warning: Permanently added '2620:52:3:1:dead:beef:cafe:c1d9' (ED25519) to the list of known hosts. You can reproduce this build on your computer by running: sudo dnf install copr-rpmbuild /usr/bin/copr-rpmbuild --verbose --drop-resultdir --task-url https://copr.fedorainfracloud.org/backend/get-build-task/6395668-fedora-rawhide-x86_64 --chroot fedora-rawhide-x86_64 Version: 0.69 PID: 5678 Logging PID: 5679 Task: {'appstream': False, 'background': False, 'build_id': 6395668, 'buildroot_pkgs': [], 'chroot': 'fedora-rawhide-x86_64', 'enable_net': False, 'fedora_review': True, 'git_hash': '94e6107967d7bec90671ba7cc42d6d1de8c123dd', 'git_repo': 'https://copr-dist-git.fedorainfracloud.org/git/@ai-ml/pytorch/pytorch', 'isolation': 'default', 'memory_reqs': 2048, 'package_name': 'pytorch', 'package_version': '2.0.1-10', 'project_dirname': 'pytorch', 'project_name': 'pytorch', 'project_owner': '@ai-ml', 'repo_priority': None, 'repos': [{'baseurl': 'https://download.copr.fedorainfracloud.org/results/@ai-ml/pytorch/fedora-rawhide-x86_64/', 'id': 'copr_base', 'name': 'Copr repository', 'priority': None}], 'sandbox': '@ai-ml/pytorch--jsteffan', 'source_json': {}, 'source_type': None, 'submitter': 'jsteffan', 'tags': [], 'task_id': '6395668-fedora-rawhide-x86_64', 'timeout': 18000, 'uses_devel_repo': False, 'with_opts': [], 'without_opts': []} Running: git clone https://copr-dist-git.fedorainfracloud.org/git/@ai-ml/pytorch/pytorch /var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch --depth 500 --no-single-branch --recursive cmd: ['git', 'clone', 'https://copr-dist-git.fedorainfracloud.org/git/@ai-ml/pytorch/pytorch', '/var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch', '--depth', '500', '--no-single-branch', '--recursive'] cwd: . rc: 0 stdout: stderr: Cloning into '/var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch'... Running: git checkout 94e6107967d7bec90671ba7cc42d6d1de8c123dd -- cmd: ['git', 'checkout', '94e6107967d7bec90671ba7cc42d6d1de8c123dd', '--'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch rc: 0 stdout: stderr: Note: switching to '94e6107967d7bec90671ba7cc42d6d1de8c123dd'. You are in 'detached HEAD' state. You can look around, make experimental changes and commit them, and you can discard any commits you make in this state without impacting any branches by switching back to a branch. If you want to create a new branch to retain commits you create, you may do so (now or later) by using -c with the switch command. Example: git switch -c Or undo this operation with: git switch - Turn off this advice by setting config variable advice.detachedHead to false HEAD is now at 94e6107 automatic import of pytorch Running: copr-distgit-client sources /usr/bin/tail: /var/lib/copr-rpmbuild/main.log: file truncated cmd: ['copr-distgit-client', 'sources'] cwd: /var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch rc: 0 stdout: stderr: INFO: Reading stdout from command: git rev-parse --abbrev-ref HEAD INFO: Reading stdout from command: git rev-parse HEAD INFO: Reading sources specification file: sources INFO: Downloading pytorch-v2.0.1.tar.gz INFO: Reading stdout from command: curl --help all INFO: Calling: curl -H Pragma: -o pytorch-v2.0.1.tar.gz --location --connect-timeout 60 --retry 3 --retry-delay 10 --remote-time --show-error --fail --retry-all-errors https://copr-dist-git.fedorainfracloud.org/repo/pkgs/@ai-ml/pytorch/pytorch/pytorch-v2.0.1.tar.gz/md5/6186b06618415e1c4a2c9f057893c4f0/pytorch-v2.0.1.tar.gz % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 100 263M 100 263M 0 0 58.4M 0 0:00:04 0:00:04 --:--:-- 59.4M INFO: Reading stdout from command: md5sum pytorch-v2.0.1.tar.gz Running (timeout=18000): unbuffer mock --spec /var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch/pytorch.spec --sources /var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch --resultdir /var/lib/copr-rpmbuild/results --uniqueext 1694480301.783496 -r /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: mock.py version 5.0 starting (python version = 3.11.3, NVR = mock-5.0-1.fc38)... Start(bootstrap): init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish(bootstrap): init plugins Start: init plugins INFO: tmpfs initialized INFO: selinux enabled INFO: chroot_scan: initialized INFO: compress_logs: initialized Finish: init plugins INFO: Signal handler active Start: run INFO: Start(/var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch/pytorch.spec) Config(fedora-rawhide-x86_64) Start: clean chroot Finish: clean chroot Mock Version: 5.0 INFO: Mock Version: 5.0 Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1694480301.783496/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata INFO: Using bootstrap image: registry.fedoraproject.org/fedora:rawhide INFO: Pulling image: registry.fedoraproject.org/fedora:rawhide INFO: Copy content of container registry.fedoraproject.org/fedora:rawhide to /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1694480301.783496/root INFO: mounting registry.fedoraproject.org/fedora:rawhide with podman image mount INFO: image registry.fedoraproject.org/fedora:rawhide as /var/lib/containers/storage/overlay/6185ec56eff71aba00ba970753d7bc5b80fd58c6eb7627e0d4a84bf517762e1c/merged INFO: umounting image registry.fedoraproject.org/fedora:rawhide (/var/lib/containers/storage/overlay/6185ec56eff71aba00ba970753d7bc5b80fd58c6eb7627e0d4a84bf517762e1c/merged) with podman image umount INFO: Package manager dnf detected and used (fallback) INFO: Bootstrap image not marked ready Start(bootstrap): installing dnf tooling No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 2.7 kB/s | 257 B 00:00 fedora 36 MB/s | 73 MB 00:02 Package python3-dnf-4.16.2-4.fc40.noarch is already installed. Dependencies resolved. ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: python3-dnf-plugins-core noarch 4.4.2-1.fc39 fedora 293 k Installing dependencies: dbus-libs x86_64 1:1.14.10-1.fc40 fedora 155 k python3-dateutil noarch 1:2.8.2-10.fc39 fedora 355 k python3-dbus x86_64 1.3.2-4.fc39 fedora 157 k python3-distro noarch 1.8.0-6.fc39 fedora 49 k python3-six noarch 1.16.0-12.fc39 fedora 41 k python3-systemd x86_64 235-5.fc39 fedora 107 k Transaction Summary ================================================================================ Install 7 Packages Total download size: 1.1 M Installed size: 3.5 M Downloading Packages: (1/7): python3-dbus-1.3.2-4.fc39.x86_64.rpm 389 kB/s | 157 kB 00:00 (2/7): dbus-libs-1.14.10-1.fc40.x86_64.rpm 383 kB/s | 155 kB 00:00 (3/7): python3-dateutil-2.8.2-10.fc39.noarch.rp 727 kB/s | 355 kB 00:00 (4/7): python3-distro-1.8.0-6.fc39.noarch.rpm 569 kB/s | 49 kB 00:00 (5/7): python3-six-1.16.0-12.fc39.noarch.rpm 480 kB/s | 41 kB 00:00 (6/7): python3-systemd-235-5.fc39.x86_64.rpm 1.2 MB/s | 107 kB 00:00 (7/7): python3-dnf-plugins-core-4.4.2-1.fc39.no 1.7 MB/s | 293 kB 00:00 -------------------------------------------------------------------------------- Total 1.8 MB/s | 1.1 MB 00:00 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : python3-systemd-235-5.fc39.x86_64 1/7 Installing : python3-six-1.16.0-12.fc39.noarch 2/7 Installing : python3-dateutil-1:2.8.2-10.fc39.noarch 3/7 Installing : python3-distro-1.8.0-6.fc39.noarch 4/7 Installing : dbus-libs-1:1.14.10-1.fc40.x86_64 5/7 Installing : python3-dbus-1.3.2-4.fc39.x86_64 6/7 Installing : python3-dnf-plugins-core-4.4.2-1.fc39.noarch 7/7 Running scriptlet: python3-dnf-plugins-core-4.4.2-1.fc39.noarch 7/7 Verifying : dbus-libs-1:1.14.10-1.fc40.x86_64 1/7 Verifying : python3-dateutil-1:2.8.2-10.fc39.noarch 2/7 Verifying : python3-dbus-1.3.2-4.fc39.x86_64 3/7 Verifying : python3-distro-1.8.0-6.fc39.noarch 4/7 Verifying : python3-dnf-plugins-core-4.4.2-1.fc39.noarch 5/7 Verifying : python3-six-1.16.0-12.fc39.noarch 6/7 Verifying : python3-systemd-235-5.fc39.x86_64 7/7 Installed: dbus-libs-1:1.14.10-1.fc40.x86_64 python3-dateutil-1:2.8.2-10.fc39.noarch python3-dbus-1.3.2-4.fc39.x86_64 python3-distro-1.8.0-6.fc39.noarch python3-dnf-plugins-core-4.4.2-1.fc39.noarch python3-six-1.16.0-12.fc39.noarch python3-systemd-235-5.fc39.x86_64 Complete! Finish(bootstrap): installing dnf tooling Start(bootstrap): creating root cache Finish(bootstrap): creating root cache Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin INFO: Package manager dnf detected and used (direct choice) Start: installing minimal buildroot with dnf No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 1.8 kB/s | 257 B 00:00 fedora 28 MB/s | 73 MB 00:02 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing group/module packages: bash x86_64 5.2.15-5.fc39 fedora 1.8 M bzip2 x86_64 1.0.8-16.fc39 fedora 52 k coreutils x86_64 9.3-2.fc39 fedora 1.1 M cpio x86_64 2.14-4.fc39 fedora 279 k diffutils x86_64 3.10-3.fc39 fedora 398 k fedora-release-common noarch 40-0.7 fedora 18 k findutils x86_64 1:4.9.0-5.fc39 fedora 492 k gawk x86_64 5.2.2-2.fc39 fedora 1.1 M glibc-minimal-langpack x86_64 2.38.9000-7.fc40 fedora 73 k grep x86_64 3.11-5.fc40 fedora 298 k gzip x86_64 1.12-6.fc39 fedora 166 k info x86_64 7.0.3-3.fc39 fedora 182 k patch x86_64 2.7.6-22.fc39 fedora 125 k redhat-rpm-config noarch 266-1.fc40 fedora 80 k rpm-build x86_64 4.18.99-1.fc40 fedora 78 k sed x86_64 4.8-14.fc39 fedora 306 k shadow-utils x86_64 2:4.14.0-1.fc40 fedora 1.3 M tar x86_64 2:1.35-2.fc40 fedora 864 k unzip x86_64 6.0-62.fc39 fedora 184 k util-linux x86_64 2.39.2-1.fc40 fedora 1.2 M which x86_64 2.21-40.fc39 fedora 42 k xz x86_64 5.4.4-1.fc39 fedora 556 k Installing dependencies: alternatives x86_64 1.25-1.fc39 fedora 39 k ansible-srpm-macros noarch 1-11.fc39 fedora 21 k audit-libs x86_64 3.1.2-3.fc40 fedora 117 k authselect x86_64 1.4.2-3.fc39 fedora 144 k authselect-libs x86_64 1.4.2-3.fc39 fedora 249 k basesystem noarch 11-18.fc39 fedora 7.2 k binutils x86_64 2.41-5.fc40 fedora 6.3 M binutils-gold x86_64 2.41-5.fc40 fedora 796 k bzip2-libs x86_64 1.0.8-16.fc39 fedora 41 k ca-certificates noarch 2023.2.60_v7.0.306-2.fc39 fedora 837 k coreutils-common x86_64 9.3-2.fc39 fedora 2.1 M cracklib x86_64 2.9.11-2.fc39 fedora 94 k crypto-policies noarch 20230731-1.git5ed06e0.fc39 fedora 99 k curl x86_64 8.2.1-2.fc40 fedora 346 k cyrus-sasl-lib x86_64 2.1.28-11.fc39 fedora 793 k debugedit x86_64 5.0-10.fc39 fedora 77 k dwz x86_64 0.15-3.fc39 fedora 134 k ed x86_64 1.19-4.fc39 fedora 79 k efi-srpm-macros noarch 5-9.fc39 fedora 22 k elfutils x86_64 0.189-6.fc40 fedora 535 k elfutils-debuginfod-client x86_64 0.189-6.fc40 fedora 38 k elfutils-default-yama-scope noarch 0.189-6.fc40 fedora 13 k elfutils-libelf x86_64 0.189-6.fc40 fedora 195 k elfutils-libs x86_64 0.189-6.fc40 fedora 258 k fedora-gpg-keys noarch 40-0.1 fedora 130 k fedora-release noarch 40-0.7 fedora 8.0 k fedora-release-identity-basic noarch 40-0.7 fedora 8.8 k fedora-repos noarch 40-0.1 fedora 9.4 k fedora-repos-rawhide noarch 40-0.1 fedora 9.0 k file x86_64 5.45-1.fc40 fedora 49 k file-libs x86_64 5.45-1.fc40 fedora 763 k filesystem x86_64 3.18-6.fc39 fedora 1.1 M fonts-srpm-macros noarch 1:2.0.5-12.fc39 fedora 26 k forge-srpm-macros noarch 0.1.0-1.fc40 fedora 18 k fpc-srpm-macros noarch 1.3-8.fc39 fedora 7.4 k gdb-minimal x86_64 13.2-7.fc39 fedora 4.2 M gdbm-libs x86_64 1:1.23-4.fc39 fedora 56 k ghc-srpm-macros noarch 1.6.1-2.fc39 fedora 7.8 k glibc x86_64 2.38.9000-7.fc40 fedora 2.2 M glibc-common x86_64 2.38.9000-7.fc40 fedora 354 k glibc-gconv-extra x86_64 2.38.9000-7.fc40 fedora 1.6 M gmp x86_64 1:6.2.1-5.fc39 fedora 313 k gnat-srpm-macros noarch 6-3.fc39 fedora 8.8 k go-srpm-macros noarch 3.2.0-6.fc39 fedora 27 k jansson x86_64 2.13.1-7.fc39 fedora 44 k kernel-srpm-macros noarch 1.0-20.fc39 fedora 10 k keyutils-libs x86_64 1.6.1-7.fc39 fedora 31 k krb5-libs x86_64 1.21.2-1.fc40 fedora 765 k libacl x86_64 2.3.1-9.fc40 fedora 23 k libarchive x86_64 3.7.1-1.fc39 fedora 408 k libattr x86_64 2.5.1-9.fc40 fedora 18 k libblkid x86_64 2.39.2-1.fc40 fedora 116 k libbrotli x86_64 1.0.9-13.fc39 fedora 317 k libcap x86_64 2.48-7.fc39 fedora 68 k libcap-ng x86_64 0.8.3-8.fc40 fedora 32 k libcom_err x86_64 1.47.0-2.fc39 fedora 26 k libcurl x86_64 8.2.1-2.fc40 fedora 328 k libdb x86_64 5.3.28-58.fc40 fedora 759 k libeconf x86_64 0.5.2-1.fc40 fedora 30 k libevent x86_64 2.1.12-9.fc39 fedora 258 k libfdisk x86_64 2.39.2-1.fc40 fedora 162 k libffi x86_64 3.4.4-4.fc39 fedora 40 k libgcc x86_64 13.2.1-1.fc39 fedora 109 k libgomp x86_64 13.2.1-1.fc39 fedora 319 k libidn2 x86_64 2.3.4-3.fc39 fedora 117 k libmount x86_64 2.39.2-1.fc40 fedora 154 k libnghttp2 x86_64 1.56.0-1.fc40 fedora 75 k libnsl2 x86_64 2.0.0-6.fc39 fedora 30 k libpkgconf x86_64 1.9.5-2.fc39 fedora 38 k libpsl x86_64 0.21.2-4.fc39 fedora 63 k libpwquality x86_64 1.4.5-6.fc39 fedora 120 k libselinux x86_64 3.5-5.fc39 fedora 87 k libsemanage x86_64 3.5-4.fc39 fedora 120 k libsepol x86_64 3.5-2.fc39 fedora 324 k libsigsegv x86_64 2.14-5.fc39 fedora 27 k libsmartcols x86_64 2.39.2-1.fc40 fedora 67 k libssh x86_64 0.10.5-2.fc39 fedora 211 k libssh-config noarch 0.10.5-2.fc39 fedora 9.2 k libstdc++ x86_64 13.2.1-1.fc39 fedora 860 k libtasn1 x86_64 4.19.0-3.fc39 fedora 74 k libtirpc x86_64 1.3.3-1.rc2.fc39 fedora 94 k libunistring x86_64 1.1-5.fc40 fedora 543 k libutempter x86_64 1.2.1-10.fc39 fedora 26 k libuuid x86_64 2.39.2-1.fc40 fedora 28 k libverto x86_64 0.3.2-6.fc39 fedora 20 k libxcrypt x86_64 4.4.36-2.fc39 fedora 119 k libxml2 x86_64 2.11.5-1.fc40 fedora 698 k libzstd x86_64 1.5.5-4.fc39 fedora 309 k lua-libs x86_64 5.4.6-3.fc39 fedora 133 k lua-srpm-macros noarch 1-9.fc39 fedora 8.6 k lz4-libs x86_64 1.9.4-4.fc39 fedora 67 k mpfr x86_64 4.2.0-3.fc39 fedora 344 k ncurses-base noarch 6.4-6.20230520.fc39 fedora 88 k ncurses-libs x86_64 6.4-6.20230520.fc39 fedora 336 k ocaml-srpm-macros noarch 8-2.fc39 fedora 14 k openblas-srpm-macros noarch 2-14.fc39 fedora 7.5 k openldap x86_64 2.6.6-1.fc39 fedora 255 k openssl-libs x86_64 1:3.1.1-4.fc40 fedora 2.2 M p11-kit x86_64 0.25.0-2.fc39 fedora 486 k p11-kit-trust x86_64 0.25.0-2.fc39 fedora 142 k package-notes-srpm-macros noarch 0.5-9.fc39 fedora 11 k pam x86_64 1.5.3-2.fc39 fedora 548 k pam-libs x86_64 1.5.3-2.fc39 fedora 58 k pcre2 x86_64 10.42-1.fc39.2 fedora 233 k pcre2-syntax noarch 10.42-1.fc39.2 fedora 143 k perl-srpm-macros noarch 1-51.fc39 fedora 8.0 k pkgconf x86_64 1.9.5-2.fc39 fedora 42 k pkgconf-m4 noarch 1.9.5-2.fc39 fedora 14 k pkgconf-pkg-config x86_64 1.9.5-2.fc39 fedora 9.6 k popt x86_64 1.19-3.fc39 fedora 66 k publicsuffix-list-dafsa noarch 20230812-1.fc40 fedora 57 k pyproject-srpm-macros noarch 1.9.0-2.fc39 fedora 14 k python-srpm-macros noarch 3.12-4.fc40 fedora 25 k qt5-srpm-macros noarch 5.15.10-2.fc39 fedora 8.3 k qt6-srpm-macros noarch 6.5.2-2.fc39 fedora 9.2 k readline x86_64 8.2-4.fc39 fedora 213 k rpm x86_64 4.18.99-1.fc40 fedora 538 k rpm-build-libs x86_64 4.18.99-1.fc40 fedora 96 k rpm-libs x86_64 4.18.99-1.fc40 fedora 312 k rpm-sequoia x86_64 1.5.0-1.fc40 fedora 883 k rust-srpm-macros noarch 24-5.fc40 fedora 12 k setup noarch 2.14.4-1.fc39 fedora 154 k sqlite-libs x86_64 3.43.0-1.fc40 fedora 688 k systemd-libs x86_64 254.1-2.fc40 fedora 688 k tzdata noarch 2023c-3.fc40 fedora 718 k util-linux-core x86_64 2.39.2-1.fc40 fedora 493 k xxhash-libs x86_64 0.8.2-1.fc39 fedora 37 k xz-libs x86_64 5.4.4-1.fc39 fedora 108 k zip x86_64 3.0-38.fc39 fedora 266 k zlib x86_64 1.2.13-4.fc39 fedora 94 k zstd x86_64 1.5.5-4.fc39 fedora 482 k Installing Groups: Buildsystem building group Transaction Summary ================================================================================ Install 153 Packages Total download size: 53 M Installed size: 183 M Downloading Packages: (1/153): ansible-srpm-macros-1-11.fc39.noarch.r 98 kB/s | 21 kB 00:00 (2/153): alternatives-1.25-1.fc39.x86_64.rpm 176 kB/s | 39 kB 00:00 (3/153): audit-libs-3.1.2-3.fc40.x86_64.rpm 384 kB/s | 117 kB 00:00 (4/153): basesystem-11-18.fc39.noarch.rpm 148 kB/s | 7.2 kB 00:00 (5/153): authselect-1.4.2-3.fc39.x86_64.rpm 947 kB/s | 144 kB 00:00 (6/153): authselect-libs-1.4.2-3.fc39.x86_64.rp 1.3 MB/s | 249 kB 00:00 (7/153): binutils-gold-2.41-5.fc40.x86_64.rpm 6.2 MB/s | 796 kB 00:00 (8/153): bzip2-1.0.8-16.fc39.x86_64.rpm 1.6 MB/s | 52 kB 00:00 (9/153): bash-5.2.15-5.fc39.x86_64.rpm 8.2 MB/s | 1.8 MB 00:00 (10/153): bzip2-libs-1.0.8-16.fc39.x86_64.rpm 1.3 MB/s | 41 kB 00:00 (11/153): ca-certificates-2023.2.60_v7.0.306-2. 16 MB/s | 837 kB 00:00 (12/153): binutils-2.41-5.fc40.x86_64.rpm 23 MB/s | 6.3 MB 00:00 (13/153): coreutils-9.3-2.fc39.x86_64.rpm 13 MB/s | 1.1 MB 00:00 (14/153): cpio-2.14-4.fc39.x86_64.rpm 5.4 MB/s | 279 kB 00:00 (15/153): coreutils-common-9.3-2.fc39.x86_64.rp 21 MB/s | 2.1 MB 00:00 (16/153): cracklib-2.9.11-2.fc39.x86_64.rpm 1.7 MB/s | 94 kB 00:00 (17/153): crypto-policies-20230731-1.git5ed06e0 1.8 MB/s | 99 kB 00:00 (18/153): curl-8.2.1-2.fc40.x86_64.rpm 6.1 MB/s | 346 kB 00:00 (19/153): debugedit-5.0-10.fc39.x86_64.rpm 1.5 MB/s | 77 kB 00:00 (20/153): cyrus-sasl-lib-2.1.28-11.fc39.x86_64. 13 MB/s | 793 kB 00:00 (21/153): diffutils-3.10-3.fc39.x86_64.rpm 11 MB/s | 398 kB 00:00 (22/153): dwz-0.15-3.fc39.x86_64.rpm 4.1 MB/s | 134 kB 00:00 (23/153): ed-1.19-4.fc39.x86_64.rpm 2.4 MB/s | 79 kB 00:00 (24/153): efi-srpm-macros-5-9.fc39.noarch.rpm 723 kB/s | 22 kB 00:00 (25/153): elfutils-0.189-6.fc40.x86_64.rpm 14 MB/s | 535 kB 00:00 (26/153): elfutils-debuginfod-client-0.189-6.fc 1.1 MB/s | 38 kB 00:00 (27/153): elfutils-default-yama-scope-0.189-6.f 433 kB/s | 13 kB 00:00 (28/153): elfutils-libs-0.189-6.fc40.x86_64.rpm 7.4 MB/s | 258 kB 00:00 (29/153): elfutils-libelf-0.189-6.fc40.x86_64.r 5.4 MB/s | 195 kB 00:00 (30/153): fedora-gpg-keys-40-0.1.noarch.rpm 4.0 MB/s | 130 kB 00:00 (31/153): fedora-release-40-0.7.noarch.rpm 261 kB/s | 8.0 kB 00:00 (32/153): fedora-release-common-40-0.7.noarch.r 592 kB/s | 18 kB 00:00 (33/153): fedora-release-identity-basic-40-0.7. 288 kB/s | 8.8 kB 00:00 (34/153): fedora-repos-40-0.1.noarch.rpm 305 kB/s | 9.4 kB 00:00 (35/153): fedora-repos-rawhide-40-0.1.noarch.rp 291 kB/s | 9.0 kB 00:00 (36/153): file-5.45-1.fc40.x86_64.rpm 1.5 MB/s | 49 kB 00:00 (37/153): filesystem-3.18-6.fc39.x86_64.rpm 23 MB/s | 1.1 MB 00:00 (38/153): file-libs-5.45-1.fc40.x86_64.rpm 15 MB/s | 763 kB 00:00 (39/153): findutils-4.9.0-5.fc39.x86_64.rpm 11 MB/s | 492 kB 00:00 (40/153): fonts-srpm-macros-2.0.5-12.fc39.noarc 857 kB/s | 26 kB 00:00 (41/153): forge-srpm-macros-0.1.0-1.fc40.noarch 598 kB/s | 18 kB 00:00 (42/153): fpc-srpm-macros-1.3-8.fc39.noarch.rpm 243 kB/s | 7.4 kB 00:00 (43/153): gawk-5.2.2-2.fc39.x86_64.rpm 25 MB/s | 1.1 MB 00:00 (44/153): gdbm-libs-1.23-4.fc39.x86_64.rpm 1.5 MB/s | 56 kB 00:00 (45/153): ghc-srpm-macros-1.6.1-2.fc39.noarch.r 252 kB/s | 7.8 kB 00:00 (46/153): glibc-common-2.38.9000-7.fc40.x86_64. 9.3 MB/s | 354 kB 00:00 (47/153): gdb-minimal-13.2-7.fc39.x86_64.rpm 35 MB/s | 4.2 MB 00:00 (48/153): glibc-2.38.9000-7.fc40.x86_64.rpm 26 MB/s | 2.2 MB 00:00 (49/153): glibc-minimal-langpack-2.38.9000-7.fc 2.0 MB/s | 73 kB 00:00 (50/153): gmp-6.2.1-5.fc39.x86_64.rpm 9.1 MB/s | 313 kB 00:00 (51/153): glibc-gconv-extra-2.38.9000-7.fc40.x8 25 MB/s | 1.6 MB 00:00 (52/153): gnat-srpm-macros-6-3.fc39.noarch.rpm 289 kB/s | 8.8 kB 00:00 (53/153): go-srpm-macros-3.2.0-6.fc39.noarch.rp 889 kB/s | 27 kB 00:00 (54/153): grep-3.11-5.fc40.x86_64.rpm 8.6 MB/s | 298 kB 00:00 (55/153): gzip-1.12-6.fc39.x86_64.rpm 5.0 MB/s | 166 kB 00:00 (56/153): info-7.0.3-3.fc39.x86_64.rpm 5.5 MB/s | 182 kB 00:00 (57/153): jansson-2.13.1-7.fc39.x86_64.rpm 1.4 MB/s | 44 kB 00:00 (58/153): kernel-srpm-macros-1.0-20.fc39.noarch 343 kB/s | 10 kB 00:00 (59/153): keyutils-libs-1.6.1-7.fc39.x86_64.rpm 1.0 MB/s | 31 kB 00:00 (60/153): krb5-libs-1.21.2-1.fc40.x86_64.rpm 19 MB/s | 765 kB 00:00 (61/153): libacl-2.3.1-9.fc40.x86_64.rpm 753 kB/s | 23 kB 00:00 (62/153): libarchive-3.7.1-1.fc39.x86_64.rpm 12 MB/s | 408 kB 00:00 (63/153): libattr-2.5.1-9.fc40.x86_64.rpm 580 kB/s | 18 kB 00:00 (64/153): libblkid-2.39.2-1.fc40.x86_64.rpm 3.6 MB/s | 116 kB 00:00 (65/153): libbrotli-1.0.9-13.fc39.x86_64.rpm 9.2 MB/s | 317 kB 00:00 (66/153): libcap-2.48-7.fc39.x86_64.rpm 2.1 MB/s | 68 kB 00:00 (67/153): libcap-ng-0.8.3-8.fc40.x86_64.rpm 1.0 MB/s | 32 kB 00:00 (68/153): libcom_err-1.47.0-2.fc39.x86_64.rpm 848 kB/s | 26 kB 00:00 (69/153): libcurl-8.2.1-2.fc40.x86_64.rpm 9.5 MB/s | 328 kB 00:00 (70/153): libdb-5.3.28-58.fc40.x86_64.rpm 19 MB/s | 759 kB 00:00 (71/153): libeconf-0.5.2-1.fc40.x86_64.rpm 979 kB/s | 30 kB 00:00 (72/153): libevent-2.1.12-9.fc39.x86_64.rpm 7.6 MB/s | 258 kB 00:00 (73/153): libfdisk-2.39.2-1.fc40.x86_64.rpm 4.9 MB/s | 162 kB 00:00 (74/153): libffi-3.4.4-4.fc39.x86_64.rpm 1.2 MB/s | 40 kB 00:00 (75/153): libgcc-13.2.1-1.fc39.x86_64.rpm 3.4 MB/s | 109 kB 00:00 (76/153): libidn2-2.3.4-3.fc39.x86_64.rpm 3.4 MB/s | 117 kB 00:00 (77/153): libgomp-13.2.1-1.fc39.x86_64.rpm 8.8 MB/s | 319 kB 00:00 (78/153): libmount-2.39.2-1.fc40.x86_64.rpm 4.7 MB/s | 154 kB 00:00 (79/153): libnghttp2-1.56.0-1.fc40.x86_64.rpm 2.3 MB/s | 75 kB 00:00 (80/153): libnsl2-2.0.0-6.fc39.x86_64.rpm 947 kB/s | 30 kB 00:00 (81/153): libpkgconf-1.9.5-2.fc39.x86_64.rpm 1.2 MB/s | 38 kB 00:00 (82/153): libpsl-0.21.2-4.fc39.x86_64.rpm 2.0 MB/s | 63 kB 00:00 (83/153): libpwquality-1.4.5-6.fc39.x86_64.rpm 3.7 MB/s | 120 kB 00:00 (84/153): libselinux-3.5-5.fc39.x86_64.rpm 2.7 MB/s | 87 kB 00:00 (85/153): libsemanage-3.5-4.fc39.x86_64.rpm 3.7 MB/s | 120 kB 00:00 (86/153): libsepol-3.5-2.fc39.x86_64.rpm 9.3 MB/s | 324 kB 00:00 (87/153): libsigsegv-2.14-5.fc39.x86_64.rpm 874 kB/s | 27 kB 00:00 (88/153): libsmartcols-2.39.2-1.fc40.x86_64.rpm 2.1 MB/s | 67 kB 00:00 (89/153): libssh-0.10.5-2.fc39.x86_64.rpm 6.4 MB/s | 211 kB 00:00 (90/153): libssh-config-0.10.5-2.fc39.noarch.rp 299 kB/s | 9.2 kB 00:00 (91/153): libtasn1-4.19.0-3.fc39.x86_64.rpm 2.1 MB/s | 74 kB 00:00 (92/153): libstdc++-13.2.1-1.fc39.x86_64.rpm 21 MB/s | 860 kB 00:00 (93/153): libtirpc-1.3.3-1.rc2.fc39.x86_64.rpm 2.9 MB/s | 94 kB 00:00 (94/153): libutempter-1.2.1-10.fc39.x86_64.rpm 833 kB/s | 26 kB 00:00 (95/153): libunistring-1.1-5.fc40.x86_64.rpm 14 MB/s | 543 kB 00:00 (96/153): libuuid-2.39.2-1.fc40.x86_64.rpm 913 kB/s | 28 kB 00:00 (97/153): libverto-0.3.2-6.fc39.x86_64.rpm 668 kB/s | 20 kB 00:00 (98/153): libxcrypt-4.4.36-2.fc39.x86_64.rpm 3.7 MB/s | 119 kB 00:00 (99/153): libxml2-2.11.5-1.fc40.x86_64.rpm 18 MB/s | 698 kB 00:00 (100/153): libzstd-1.5.5-4.fc39.x86_64.rpm 8.9 MB/s | 309 kB 00:00 (101/153): lua-libs-5.4.6-3.fc39.x86_64.rpm 4.1 MB/s | 133 kB 00:00 (102/153): lua-srpm-macros-1-9.fc39.noarch.rpm 283 kB/s | 8.6 kB 00:00 (103/153): lz4-libs-1.9.4-4.fc39.x86_64.rpm 2.1 MB/s | 67 kB 00:00 (104/153): mpfr-4.2.0-3.fc39.x86_64.rpm 9.8 MB/s | 344 kB 00:00 (105/153): ncurses-base-6.4-6.20230520.fc39.noa 2.8 MB/s | 88 kB 00:00 (106/153): ncurses-libs-6.4-6.20230520.fc39.x86 9.6 MB/s | 336 kB 00:00 (107/153): ocaml-srpm-macros-8-2.fc39.noarch.rp 445 kB/s | 14 kB 00:00 (108/153): openblas-srpm-macros-2-14.fc39.noarc 248 kB/s | 7.5 kB 00:00 (109/153): openldap-2.6.6-1.fc39.x86_64.rpm 7.6 MB/s | 255 kB 00:00 (110/153): p11-kit-0.25.0-2.fc39.x86_64.rpm 13 MB/s | 486 kB 00:00 (111/153): p11-kit-trust-0.25.0-2.fc39.x86_64.r 4.3 MB/s | 142 kB 00:00 (112/153): openssl-libs-3.1.1-4.fc40.x86_64.rpm 29 MB/s | 2.2 MB 00:00 (113/153): package-notes-srpm-macros-0.5-9.fc39 368 kB/s | 11 kB 00:00 (114/153): pam-1.5.3-2.fc39.x86_64.rpm 15 MB/s | 548 kB 00:00 (115/153): pam-libs-1.5.3-2.fc39.x86_64.rpm 1.8 MB/s | 58 kB 00:00 (116/153): patch-2.7.6-22.fc39.x86_64.rpm 3.9 MB/s | 125 kB 00:00 (117/153): pcre2-10.42-1.fc39.2.x86_64.rpm 6.9 MB/s | 233 kB 00:00 (118/153): pcre2-syntax-10.42-1.fc39.2.noarch.r 4.4 MB/s | 143 kB 00:00 (119/153): perl-srpm-macros-1-51.fc39.noarch.rp 264 kB/s | 8.0 kB 00:00 (120/153): pkgconf-1.9.5-2.fc39.x86_64.rpm 1.3 MB/s | 42 kB 00:00 (121/153): pkgconf-m4-1.9.5-2.fc39.noarch.rpm 456 kB/s | 14 kB 00:00 (122/153): pkgconf-pkg-config-1.9.5-2.fc39.x86_ 317 kB/s | 9.6 kB 00:00 (123/153): popt-1.19-3.fc39.x86_64.rpm 2.1 MB/s | 66 kB 00:00 (124/153): publicsuffix-list-dafsa-20230812-1.f 1.8 MB/s | 57 kB 00:00 (125/153): pyproject-srpm-macros-1.9.0-2.fc39.n 460 kB/s | 14 kB 00:00 (126/153): python-srpm-macros-3.12-4.fc40.noarc 811 kB/s | 25 kB 00:00 (127/153): qt5-srpm-macros-5.15.10-2.fc39.noarc 275 kB/s | 8.3 kB 00:00 (128/153): qt6-srpm-macros-6.5.2-2.fc39.noarch. 302 kB/s | 9.2 kB 00:00 (129/153): readline-8.2-4.fc39.x86_64.rpm 6.4 MB/s | 213 kB 00:00 (130/153): redhat-rpm-config-266-1.fc40.noarch. 2.5 MB/s | 80 kB 00:00 (131/153): rpm-4.18.99-1.fc40.x86_64.rpm 15 MB/s | 538 kB 00:00 (132/153): rpm-build-4.18.99-1.fc40.x86_64.rpm 2.5 MB/s | 78 kB 00:00 (133/153): rpm-build-libs-4.18.99-1.fc40.x86_64 3.0 MB/s | 96 kB 00:00 (134/153): rpm-libs-4.18.99-1.fc40.x86_64.rpm 8.9 MB/s | 312 kB 00:00 (135/153): rust-srpm-macros-24-5.fc40.noarch.rp 381 kB/s | 12 kB 00:00 (136/153): rpm-sequoia-1.5.0-1.fc40.x86_64.rpm 22 MB/s | 883 kB 00:00 (137/153): sed-4.8-14.fc39.x86_64.rpm 9.0 MB/s | 306 kB 00:00 (138/153): setup-2.14.4-1.fc39.noarch.rpm 4.7 MB/s | 154 kB 00:00 (139/153): shadow-utils-4.14.0-1.fc40.x86_64.rp 27 MB/s | 1.3 MB 00:00 (140/153): sqlite-libs-3.43.0-1.fc40.x86_64.rpm 15 MB/s | 688 kB 00:00 (141/153): systemd-libs-254.1-2.fc40.x86_64.rpm 18 MB/s | 688 kB 00:00 (142/153): tar-1.35-2.fc40.x86_64.rpm 20 MB/s | 864 kB 00:00 (143/153): tzdata-2023c-3.fc40.noarch.rpm 16 MB/s | 718 kB 00:00 (144/153): unzip-6.0-62.fc39.x86_64.rpm 5.6 MB/s | 184 kB 00:00 (145/153): util-linux-core-2.39.2-1.fc40.x86_64 12 MB/s | 493 kB 00:00 (146/153): which-2.21-40.fc39.x86_64.rpm 1.0 MB/s | 42 kB 00:00 (147/153): util-linux-2.39.2-1.fc40.x86_64.rpm 25 MB/s | 1.2 MB 00:00 (148/153): xxhash-libs-0.8.2-1.fc39.x86_64.rpm 1.2 MB/s | 37 kB 00:00 (149/153): xz-libs-5.4.4-1.fc39.x86_64.rpm 3.2 MB/s | 108 kB 00:00 (150/153): xz-5.4.4-1.fc39.x86_64.rpm 15 MB/s | 556 kB 00:00 (151/153): zip-3.0-38.fc39.x86_64.rpm 7.9 MB/s | 266 kB 00:00 (152/153): zlib-1.2.13-4.fc39.x86_64.rpm 2.9 MB/s | 94 kB 00:00 (153/153): zstd-1.5.5-4.fc39.x86_64.rpm 13 MB/s | 482 kB 00:00 -------------------------------------------------------------------------------- Total 22 MB/s | 53 MB 00:02 fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0xA15B79CC: Userid : "Fedora (40) " Fingerprint: 115D F9AE F857 853E E844 5D0A 0727 707E A15B 79CC From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary Key imported successfully fedora 1.6 MB/s | 1.6 kB 00:00 GPG key at file:///usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-40-primary (0xA15B79CC) is already installed fedora 1.6 MB/s | 1.6 kB 00:00 Importing GPG key 0x18B8E74C: Userid : "Fedora (39) " Fingerprint: E8F2 3996 F232 1864 0CB4 4CBE 75CF 5AC4 18B8 E74C From : /usr/share/distribution-gpg-keys/fedora/RPM-GPG-KEY-fedora-39-primary Key imported successfully Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Running scriptlet: filesystem-3.18-6.fc39.x86_64 1/1 Preparing : 1/1 Installing : libgcc-13.2.1-1.fc39.x86_64 1/153 Running scriptlet: libgcc-13.2.1-1.fc39.x86_64 1/153 Installing : crypto-policies-20230731-1.git5ed06e0.fc39.noarc 2/153 Running scriptlet: crypto-policies-20230731-1.git5ed06e0.fc39.noarc 2/153 Installing : tzdata-2023c-3.fc40.noarch 3/153 Installing : fedora-release-identity-basic-40-0.7.noarch 4/153 Installing : fedora-repos-rawhide-40-0.1.noarch 5/153 Installing : fedora-gpg-keys-40-0.1.noarch 6/153 Installing : fedora-repos-40-0.1.noarch 7/153 Installing : fedora-release-common-40-0.7.noarch 8/153 Installing : fedora-release-40-0.7.noarch 9/153 Installing : setup-2.14.4-1.fc39.noarch 10/153 warning: /etc/hosts created as /etc/hosts.rpmnew Running scriptlet: setup-2.14.4-1.fc39.noarch 10/153 Installing : filesystem-3.18-6.fc39.x86_64 11/153 Installing : basesystem-11-18.fc39.noarch 12/153 Installing : rust-srpm-macros-24-5.fc40.noarch 13/153 Installing : qt6-srpm-macros-6.5.2-2.fc39.noarch 14/153 Installing : qt5-srpm-macros-5.15.10-2.fc39.noarch 15/153 Installing : pyproject-srpm-macros-1.9.0-2.fc39.noarch 16/153 Installing : publicsuffix-list-dafsa-20230812-1.fc40.noarch 17/153 Installing : pkgconf-m4-1.9.5-2.fc39.noarch 18/153 Installing : perl-srpm-macros-1-51.fc39.noarch 19/153 Installing : pcre2-syntax-10.42-1.fc39.2.noarch 20/153 Installing : package-notes-srpm-macros-0.5-9.fc39.noarch 21/153 Installing : openblas-srpm-macros-2-14.fc39.noarch 22/153 Installing : ocaml-srpm-macros-8-2.fc39.noarch 23/153 Installing : ncurses-base-6.4-6.20230520.fc39.noarch 24/153 Installing : glibc-gconv-extra-2.38.9000-7.fc40.x86_64 25/153 Running scriptlet: glibc-gconv-extra-2.38.9000-7.fc40.x86_64 25/153 Installing : glibc-minimal-langpack-2.38.9000-7.fc40.x86_64 26/153 Installing : glibc-common-2.38.9000-7.fc40.x86_64 27/153 Running scriptlet: glibc-2.38.9000-7.fc40.x86_64 28/153 Installing : glibc-2.38.9000-7.fc40.x86_64 28/153 Running scriptlet: glibc-2.38.9000-7.fc40.x86_64 28/153 Installing : ncurses-libs-6.4-6.20230520.fc39.x86_64 29/153 Installing : bash-5.2.15-5.fc39.x86_64 30/153 Running scriptlet: bash-5.2.15-5.fc39.x86_64 30/153 Installing : zlib-1.2.13-4.fc39.x86_64 31/153 Installing : xz-libs-5.4.4-1.fc39.x86_64 32/153 Installing : bzip2-libs-1.0.8-16.fc39.x86_64 33/153 Installing : libstdc++-13.2.1-1.fc39.x86_64 34/153 Installing : libuuid-2.39.2-1.fc40.x86_64 35/153 Installing : libzstd-1.5.5-4.fc39.x86_64 36/153 Installing : elfutils-libelf-0.189-6.fc40.x86_64 37/153 Installing : popt-1.19-3.fc39.x86_64 38/153 Installing : libblkid-2.39.2-1.fc40.x86_64 39/153 Installing : readline-8.2-4.fc39.x86_64 40/153 Installing : gmp-1:6.2.1-5.fc39.x86_64 41/153 Installing : libattr-2.5.1-9.fc40.x86_64 42/153 Installing : libacl-2.3.1-9.fc40.x86_64 43/153 Installing : libcap-2.48-7.fc39.x86_64 44/153 Installing : libxcrypt-4.4.36-2.fc39.x86_64 45/153 Installing : lz4-libs-1.9.4-4.fc39.x86_64 46/153 Installing : systemd-libs-254.1-2.fc40.x86_64 47/153 Installing : mpfr-4.2.0-3.fc39.x86_64 48/153 Installing : dwz-0.15-3.fc39.x86_64 49/153 Installing : unzip-6.0-62.fc39.x86_64 50/153 Installing : file-libs-5.45-1.fc40.x86_64 51/153 Installing : file-5.45-1.fc40.x86_64 52/153 Installing : alternatives-1.25-1.fc39.x86_64 53/153 Installing : jansson-2.13.1-7.fc39.x86_64 54/153 Installing : libcap-ng-0.8.3-8.fc40.x86_64 55/153 Installing : audit-libs-3.1.2-3.fc40.x86_64 56/153 Installing : pam-libs-1.5.3-2.fc39.x86_64 57/153 Installing : libcom_err-1.47.0-2.fc39.x86_64 58/153 Installing : libsepol-3.5-2.fc39.x86_64 59/153 Installing : libsmartcols-2.39.2-1.fc40.x86_64 60/153 Installing : libunistring-1.1-5.fc40.x86_64 61/153 Installing : libidn2-2.3.4-3.fc39.x86_64 62/153 Installing : lua-libs-5.4.6-3.fc39.x86_64 63/153 Installing : pcre2-10.42-1.fc39.2.x86_64 64/153 Installing : libselinux-3.5-5.fc39.x86_64 65/153 Installing : sed-4.8-14.fc39.x86_64 66/153 Installing : grep-3.11-5.fc40.x86_64 67/153 Installing : findutils-1:4.9.0-5.fc39.x86_64 68/153 Installing : xz-5.4.4-1.fc39.x86_64 69/153 Installing : libmount-2.39.2-1.fc40.x86_64 70/153 Installing : util-linux-core-2.39.2-1.fc40.x86_64 71/153 Installing : libsemanage-3.5-4.fc39.x86_64 72/153 Installing : tar-2:1.35-2.fc40.x86_64 73/153 Installing : libpsl-0.21.2-4.fc39.x86_64 74/153 Installing : zip-3.0-38.fc39.x86_64 75/153 Installing : zstd-1.5.5-4.fc39.x86_64 76/153 Installing : libfdisk-2.39.2-1.fc40.x86_64 77/153 Installing : bzip2-1.0.8-16.fc39.x86_64 78/153 Installing : libxml2-2.11.5-1.fc40.x86_64 79/153 Installing : sqlite-libs-3.43.0-1.fc40.x86_64 80/153 Installing : ed-1.19-4.fc39.x86_64 81/153 Installing : patch-2.7.6-22.fc39.x86_64 82/153 Installing : elfutils-default-yama-scope-0.189-6.fc40.noarch 83/153 Running scriptlet: elfutils-default-yama-scope-0.189-6.fc40.noarch 83/153 Installing : cpio-2.14-4.fc39.x86_64 84/153 Installing : diffutils-3.10-3.fc39.x86_64 85/153 Installing : gdbm-libs-1:1.23-4.fc39.x86_64 86/153 Installing : cyrus-sasl-lib-2.1.28-11.fc39.x86_64 87/153 Installing : keyutils-libs-1.6.1-7.fc39.x86_64 88/153 Installing : libbrotli-1.0.9-13.fc39.x86_64 89/153 Installing : libdb-5.3.28-58.fc40.x86_64 90/153 Installing : libeconf-0.5.2-1.fc40.x86_64 91/153 Installing : shadow-utils-2:4.14.0-1.fc40.x86_64 92/153 Running scriptlet: libutempter-1.2.1-10.fc39.x86_64 93/153 Installing : libutempter-1.2.1-10.fc39.x86_64 93/153 Installing : libffi-3.4.4-4.fc39.x86_64 94/153 Installing : p11-kit-0.25.0-2.fc39.x86_64 95/153 Installing : libgomp-13.2.1-1.fc39.x86_64 96/153 Installing : libnghttp2-1.56.0-1.fc40.x86_64 97/153 Installing : libpkgconf-1.9.5-2.fc39.x86_64 98/153 Installing : pkgconf-1.9.5-2.fc39.x86_64 99/153 Installing : pkgconf-pkg-config-1.9.5-2.fc39.x86_64 100/153 Installing : libsigsegv-2.14-5.fc39.x86_64 101/153 Installing : gawk-5.2.2-2.fc39.x86_64 102/153 Installing : libtasn1-4.19.0-3.fc39.x86_64 103/153 Installing : p11-kit-trust-0.25.0-2.fc39.x86_64 104/153 Running scriptlet: p11-kit-trust-0.25.0-2.fc39.x86_64 104/153 Installing : libverto-0.3.2-6.fc39.x86_64 105/153 Installing : xxhash-libs-0.8.2-1.fc39.x86_64 106/153 Installing : libssh-config-0.10.5-2.fc39.noarch 107/153 Installing : kernel-srpm-macros-1.0-20.fc39.noarch 108/153 Installing : gnat-srpm-macros-6-3.fc39.noarch 109/153 Installing : ghc-srpm-macros-1.6.1-2.fc39.noarch 110/153 Installing : fpc-srpm-macros-1.3-8.fc39.noarch 111/153 Installing : coreutils-common-9.3-2.fc39.x86_64 112/153 Installing : openssl-libs-1:3.1.1-4.fc40.x86_64 113/153 Installing : coreutils-9.3-2.fc39.x86_64 114/153 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch 115/153 Installing : ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch 115/153 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch 115/153 Installing : krb5-libs-1.21.2-1.fc40.x86_64 116/153 Installing : libtirpc-1.3.3-1.rc2.fc39.x86_64 117/153 Running scriptlet: authselect-libs-1.4.2-3.fc39.x86_64 118/153 Installing : authselect-libs-1.4.2-3.fc39.x86_64 118/153 Installing : gzip-1.12-6.fc39.x86_64 119/153 Installing : cracklib-2.9.11-2.fc39.x86_64 120/153 Installing : libpwquality-1.4.5-6.fc39.x86_64 121/153 Installing : authselect-1.4.2-3.fc39.x86_64 122/153 Installing : libnsl2-2.0.0-6.fc39.x86_64 123/153 Installing : pam-1.5.3-2.fc39.x86_64 124/153 Installing : libssh-0.10.5-2.fc39.x86_64 125/153 Installing : libarchive-3.7.1-1.fc39.x86_64 126/153 Installing : libevent-2.1.12-9.fc39.x86_64 127/153 Installing : openldap-2.6.6-1.fc39.x86_64 128/153 Installing : libcurl-8.2.1-2.fc40.x86_64 129/153 Installing : elfutils-libs-0.189-6.fc40.x86_64 130/153 Installing : elfutils-debuginfod-client-0.189-6.fc40.x86_64 131/153 Installing : binutils-gold-2.41-5.fc40.x86_64 132/153 Running scriptlet: binutils-gold-2.41-5.fc40.x86_64 132/153 Installing : binutils-2.41-5.fc40.x86_64 133/153 Running scriptlet: binutils-2.41-5.fc40.x86_64 133/153 Installing : elfutils-0.189-6.fc40.x86_64 134/153 Installing : gdb-minimal-13.2-7.fc39.x86_64 135/153 Installing : debugedit-5.0-10.fc39.x86_64 136/153 Installing : curl-8.2.1-2.fc40.x86_64 137/153 Installing : rpm-sequoia-1.5.0-1.fc40.x86_64 138/153 Installing : rpm-libs-4.18.99-1.fc40.x86_64 139/153 Running scriptlet: rpm-4.18.99-1.fc40.x86_64 140/153 Installing : rpm-4.18.99-1.fc40.x86_64 140/153 Installing : efi-srpm-macros-5-9.fc39.noarch 141/153 Installing : lua-srpm-macros-1-9.fc39.noarch 142/153 Installing : rpm-build-libs-4.18.99-1.fc40.x86_64 143/153 Installing : ansible-srpm-macros-1-11.fc39.noarch 144/153 Installing : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 145/153 Installing : forge-srpm-macros-0.1.0-1.fc40.noarch 146/153 Installing : go-srpm-macros-3.2.0-6.fc39.noarch 147/153 Installing : python-srpm-macros-3.12-4.fc40.noarch 148/153 Installing : redhat-rpm-config-266-1.fc40.noarch 149/153 Installing : rpm-build-4.18.99-1.fc40.x86_64 150/153 Installing : util-linux-2.39.2-1.fc40.x86_64 151/153 Installing : which-2.21-40.fc39.x86_64 152/153 Installing : info-7.0.3-3.fc39.x86_64 153/153 Running scriptlet: filesystem-3.18-6.fc39.x86_64 153/153 Running scriptlet: ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch 153/153 Running scriptlet: authselect-libs-1.4.2-3.fc39.x86_64 153/153 Running scriptlet: rpm-4.18.99-1.fc40.x86_64 153/153 Running scriptlet: info-7.0.3-3.fc39.x86_64 153/153 Verifying : alternatives-1.25-1.fc39.x86_64 1/153 Verifying : ansible-srpm-macros-1-11.fc39.noarch 2/153 Verifying : audit-libs-3.1.2-3.fc40.x86_64 3/153 Verifying : authselect-1.4.2-3.fc39.x86_64 4/153 Verifying : authselect-libs-1.4.2-3.fc39.x86_64 5/153 Verifying : basesystem-11-18.fc39.noarch 6/153 Verifying : bash-5.2.15-5.fc39.x86_64 7/153 Verifying : binutils-2.41-5.fc40.x86_64 8/153 Verifying : binutils-gold-2.41-5.fc40.x86_64 9/153 Verifying : bzip2-1.0.8-16.fc39.x86_64 10/153 Verifying : bzip2-libs-1.0.8-16.fc39.x86_64 11/153 Verifying : ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch 12/153 Verifying : coreutils-9.3-2.fc39.x86_64 13/153 Verifying : coreutils-common-9.3-2.fc39.x86_64 14/153 Verifying : cpio-2.14-4.fc39.x86_64 15/153 Verifying : cracklib-2.9.11-2.fc39.x86_64 16/153 Verifying : crypto-policies-20230731-1.git5ed06e0.fc39.noarc 17/153 Verifying : curl-8.2.1-2.fc40.x86_64 18/153 Verifying : cyrus-sasl-lib-2.1.28-11.fc39.x86_64 19/153 Verifying : debugedit-5.0-10.fc39.x86_64 20/153 Verifying : diffutils-3.10-3.fc39.x86_64 21/153 Verifying : dwz-0.15-3.fc39.x86_64 22/153 Verifying : ed-1.19-4.fc39.x86_64 23/153 Verifying : efi-srpm-macros-5-9.fc39.noarch 24/153 Verifying : elfutils-0.189-6.fc40.x86_64 25/153 Verifying : elfutils-debuginfod-client-0.189-6.fc40.x86_64 26/153 Verifying : elfutils-default-yama-scope-0.189-6.fc40.noarch 27/153 Verifying : elfutils-libelf-0.189-6.fc40.x86_64 28/153 Verifying : elfutils-libs-0.189-6.fc40.x86_64 29/153 Verifying : fedora-gpg-keys-40-0.1.noarch 30/153 Verifying : fedora-release-40-0.7.noarch 31/153 Verifying : fedora-release-common-40-0.7.noarch 32/153 Verifying : fedora-release-identity-basic-40-0.7.noarch 33/153 Verifying : fedora-repos-40-0.1.noarch 34/153 Verifying : fedora-repos-rawhide-40-0.1.noarch 35/153 Verifying : file-5.45-1.fc40.x86_64 36/153 Verifying : file-libs-5.45-1.fc40.x86_64 37/153 Verifying : filesystem-3.18-6.fc39.x86_64 38/153 Verifying : findutils-1:4.9.0-5.fc39.x86_64 39/153 Verifying : fonts-srpm-macros-1:2.0.5-12.fc39.noarch 40/153 Verifying : forge-srpm-macros-0.1.0-1.fc40.noarch 41/153 Verifying : fpc-srpm-macros-1.3-8.fc39.noarch 42/153 Verifying : gawk-5.2.2-2.fc39.x86_64 43/153 Verifying : gdb-minimal-13.2-7.fc39.x86_64 44/153 Verifying : gdbm-libs-1:1.23-4.fc39.x86_64 45/153 Verifying : ghc-srpm-macros-1.6.1-2.fc39.noarch 46/153 Verifying : glibc-2.38.9000-7.fc40.x86_64 47/153 Verifying : glibc-common-2.38.9000-7.fc40.x86_64 48/153 Verifying : glibc-gconv-extra-2.38.9000-7.fc40.x86_64 49/153 Verifying : glibc-minimal-langpack-2.38.9000-7.fc40.x86_64 50/153 Verifying : gmp-1:6.2.1-5.fc39.x86_64 51/153 Verifying : gnat-srpm-macros-6-3.fc39.noarch 52/153 Verifying : go-srpm-macros-3.2.0-6.fc39.noarch 53/153 Verifying : grep-3.11-5.fc40.x86_64 54/153 Verifying : gzip-1.12-6.fc39.x86_64 55/153 Verifying : info-7.0.3-3.fc39.x86_64 56/153 Verifying : jansson-2.13.1-7.fc39.x86_64 57/153 Verifying : kernel-srpm-macros-1.0-20.fc39.noarch 58/153 Verifying : keyutils-libs-1.6.1-7.fc39.x86_64 59/153 Verifying : krb5-libs-1.21.2-1.fc40.x86_64 60/153 Verifying : libacl-2.3.1-9.fc40.x86_64 61/153 Verifying : libarchive-3.7.1-1.fc39.x86_64 62/153 Verifying : libattr-2.5.1-9.fc40.x86_64 63/153 Verifying : libblkid-2.39.2-1.fc40.x86_64 64/153 Verifying : libbrotli-1.0.9-13.fc39.x86_64 65/153 Verifying : libcap-2.48-7.fc39.x86_64 66/153 Verifying : libcap-ng-0.8.3-8.fc40.x86_64 67/153 Verifying : libcom_err-1.47.0-2.fc39.x86_64 68/153 Verifying : libcurl-8.2.1-2.fc40.x86_64 69/153 Verifying : libdb-5.3.28-58.fc40.x86_64 70/153 Verifying : libeconf-0.5.2-1.fc40.x86_64 71/153 Verifying : libevent-2.1.12-9.fc39.x86_64 72/153 Verifying : libfdisk-2.39.2-1.fc40.x86_64 73/153 Verifying : libffi-3.4.4-4.fc39.x86_64 74/153 Verifying : libgcc-13.2.1-1.fc39.x86_64 75/153 Verifying : libgomp-13.2.1-1.fc39.x86_64 76/153 Verifying : libidn2-2.3.4-3.fc39.x86_64 77/153 Verifying : libmount-2.39.2-1.fc40.x86_64 78/153 Verifying : libnghttp2-1.56.0-1.fc40.x86_64 79/153 Verifying : libnsl2-2.0.0-6.fc39.x86_64 80/153 Verifying : libpkgconf-1.9.5-2.fc39.x86_64 81/153 Verifying : libpsl-0.21.2-4.fc39.x86_64 82/153 Verifying : libpwquality-1.4.5-6.fc39.x86_64 83/153 Verifying : libselinux-3.5-5.fc39.x86_64 84/153 Verifying : libsemanage-3.5-4.fc39.x86_64 85/153 Verifying : libsepol-3.5-2.fc39.x86_64 86/153 Verifying : libsigsegv-2.14-5.fc39.x86_64 87/153 Verifying : libsmartcols-2.39.2-1.fc40.x86_64 88/153 Verifying : libssh-0.10.5-2.fc39.x86_64 89/153 Verifying : libssh-config-0.10.5-2.fc39.noarch 90/153 Verifying : libstdc++-13.2.1-1.fc39.x86_64 91/153 Verifying : libtasn1-4.19.0-3.fc39.x86_64 92/153 Verifying : libtirpc-1.3.3-1.rc2.fc39.x86_64 93/153 Verifying : libunistring-1.1-5.fc40.x86_64 94/153 Verifying : libutempter-1.2.1-10.fc39.x86_64 95/153 Verifying : libuuid-2.39.2-1.fc40.x86_64 96/153 Verifying : libverto-0.3.2-6.fc39.x86_64 97/153 Verifying : libxcrypt-4.4.36-2.fc39.x86_64 98/153 Verifying : libxml2-2.11.5-1.fc40.x86_64 99/153 Verifying : libzstd-1.5.5-4.fc39.x86_64 100/153 Verifying : lua-libs-5.4.6-3.fc39.x86_64 101/153 Verifying : lua-srpm-macros-1-9.fc39.noarch 102/153 Verifying : lz4-libs-1.9.4-4.fc39.x86_64 103/153 Verifying : mpfr-4.2.0-3.fc39.x86_64 104/153 Verifying : ncurses-base-6.4-6.20230520.fc39.noarch 105/153 Verifying : ncurses-libs-6.4-6.20230520.fc39.x86_64 106/153 Verifying : ocaml-srpm-macros-8-2.fc39.noarch 107/153 Verifying : openblas-srpm-macros-2-14.fc39.noarch 108/153 Verifying : openldap-2.6.6-1.fc39.x86_64 109/153 Verifying : openssl-libs-1:3.1.1-4.fc40.x86_64 110/153 Verifying : p11-kit-0.25.0-2.fc39.x86_64 111/153 Verifying : p11-kit-trust-0.25.0-2.fc39.x86_64 112/153 Verifying : package-notes-srpm-macros-0.5-9.fc39.noarch 113/153 Verifying : pam-1.5.3-2.fc39.x86_64 114/153 Verifying : pam-libs-1.5.3-2.fc39.x86_64 115/153 Verifying : patch-2.7.6-22.fc39.x86_64 116/153 Verifying : pcre2-10.42-1.fc39.2.x86_64 117/153 Verifying : pcre2-syntax-10.42-1.fc39.2.noarch 118/153 Verifying : perl-srpm-macros-1-51.fc39.noarch 119/153 Verifying : pkgconf-1.9.5-2.fc39.x86_64 120/153 Verifying : pkgconf-m4-1.9.5-2.fc39.noarch 121/153 Verifying : pkgconf-pkg-config-1.9.5-2.fc39.x86_64 122/153 Verifying : popt-1.19-3.fc39.x86_64 123/153 Verifying : publicsuffix-list-dafsa-20230812-1.fc40.noarch 124/153 Verifying : pyproject-srpm-macros-1.9.0-2.fc39.noarch 125/153 Verifying : python-srpm-macros-3.12-4.fc40.noarch 126/153 Verifying : qt5-srpm-macros-5.15.10-2.fc39.noarch 127/153 Verifying : qt6-srpm-macros-6.5.2-2.fc39.noarch 128/153 Verifying : readline-8.2-4.fc39.x86_64 129/153 Verifying : redhat-rpm-config-266-1.fc40.noarch 130/153 Verifying : rpm-4.18.99-1.fc40.x86_64 131/153 Verifying : rpm-build-4.18.99-1.fc40.x86_64 132/153 Verifying : rpm-build-libs-4.18.99-1.fc40.x86_64 133/153 Verifying : rpm-libs-4.18.99-1.fc40.x86_64 134/153 Verifying : rpm-sequoia-1.5.0-1.fc40.x86_64 135/153 Verifying : rust-srpm-macros-24-5.fc40.noarch 136/153 Verifying : sed-4.8-14.fc39.x86_64 137/153 Verifying : setup-2.14.4-1.fc39.noarch 138/153 Verifying : shadow-utils-2:4.14.0-1.fc40.x86_64 139/153 Verifying : sqlite-libs-3.43.0-1.fc40.x86_64 140/153 Verifying : systemd-libs-254.1-2.fc40.x86_64 141/153 Verifying : tar-2:1.35-2.fc40.x86_64 142/153 Verifying : tzdata-2023c-3.fc40.noarch 143/153 Verifying : unzip-6.0-62.fc39.x86_64 144/153 Verifying : util-linux-2.39.2-1.fc40.x86_64 145/153 Verifying : util-linux-core-2.39.2-1.fc40.x86_64 146/153 Verifying : which-2.21-40.fc39.x86_64 147/153 Verifying : xxhash-libs-0.8.2-1.fc39.x86_64 148/153 Verifying : xz-5.4.4-1.fc39.x86_64 149/153 Verifying : xz-libs-5.4.4-1.fc39.x86_64 150/153 Verifying : zip-3.0-38.fc39.x86_64 151/153 Verifying : zlib-1.2.13-4.fc39.x86_64 152/153 Verifying : zstd-1.5.5-4.fc39.x86_64 153/153 Installed: alternatives-1.25-1.fc39.x86_64 ansible-srpm-macros-1-11.fc39.noarch audit-libs-3.1.2-3.fc40.x86_64 authselect-1.4.2-3.fc39.x86_64 authselect-libs-1.4.2-3.fc39.x86_64 basesystem-11-18.fc39.noarch bash-5.2.15-5.fc39.x86_64 binutils-2.41-5.fc40.x86_64 binutils-gold-2.41-5.fc40.x86_64 bzip2-1.0.8-16.fc39.x86_64 bzip2-libs-1.0.8-16.fc39.x86_64 ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch coreutils-9.3-2.fc39.x86_64 coreutils-common-9.3-2.fc39.x86_64 cpio-2.14-4.fc39.x86_64 cracklib-2.9.11-2.fc39.x86_64 crypto-policies-20230731-1.git5ed06e0.fc39.noarch curl-8.2.1-2.fc40.x86_64 cyrus-sasl-lib-2.1.28-11.fc39.x86_64 debugedit-5.0-10.fc39.x86_64 diffutils-3.10-3.fc39.x86_64 dwz-0.15-3.fc39.x86_64 ed-1.19-4.fc39.x86_64 efi-srpm-macros-5-9.fc39.noarch elfutils-0.189-6.fc40.x86_64 elfutils-debuginfod-client-0.189-6.fc40.x86_64 elfutils-default-yama-scope-0.189-6.fc40.noarch elfutils-libelf-0.189-6.fc40.x86_64 elfutils-libs-0.189-6.fc40.x86_64 fedora-gpg-keys-40-0.1.noarch fedora-release-40-0.7.noarch fedora-release-common-40-0.7.noarch fedora-release-identity-basic-40-0.7.noarch fedora-repos-40-0.1.noarch fedora-repos-rawhide-40-0.1.noarch file-5.45-1.fc40.x86_64 file-libs-5.45-1.fc40.x86_64 filesystem-3.18-6.fc39.x86_64 findutils-1:4.9.0-5.fc39.x86_64 fonts-srpm-macros-1:2.0.5-12.fc39.noarch forge-srpm-macros-0.1.0-1.fc40.noarch fpc-srpm-macros-1.3-8.fc39.noarch gawk-5.2.2-2.fc39.x86_64 gdb-minimal-13.2-7.fc39.x86_64 gdbm-libs-1:1.23-4.fc39.x86_64 ghc-srpm-macros-1.6.1-2.fc39.noarch glibc-2.38.9000-7.fc40.x86_64 glibc-common-2.38.9000-7.fc40.x86_64 glibc-gconv-extra-2.38.9000-7.fc40.x86_64 glibc-minimal-langpack-2.38.9000-7.fc40.x86_64 gmp-1:6.2.1-5.fc39.x86_64 gnat-srpm-macros-6-3.fc39.noarch go-srpm-macros-3.2.0-6.fc39.noarch grep-3.11-5.fc40.x86_64 gzip-1.12-6.fc39.x86_64 info-7.0.3-3.fc39.x86_64 jansson-2.13.1-7.fc39.x86_64 kernel-srpm-macros-1.0-20.fc39.noarch keyutils-libs-1.6.1-7.fc39.x86_64 krb5-libs-1.21.2-1.fc40.x86_64 libacl-2.3.1-9.fc40.x86_64 libarchive-3.7.1-1.fc39.x86_64 libattr-2.5.1-9.fc40.x86_64 libblkid-2.39.2-1.fc40.x86_64 libbrotli-1.0.9-13.fc39.x86_64 libcap-2.48-7.fc39.x86_64 libcap-ng-0.8.3-8.fc40.x86_64 libcom_err-1.47.0-2.fc39.x86_64 libcurl-8.2.1-2.fc40.x86_64 libdb-5.3.28-58.fc40.x86_64 libeconf-0.5.2-1.fc40.x86_64 libevent-2.1.12-9.fc39.x86_64 libfdisk-2.39.2-1.fc40.x86_64 libffi-3.4.4-4.fc39.x86_64 libgcc-13.2.1-1.fc39.x86_64 libgomp-13.2.1-1.fc39.x86_64 libidn2-2.3.4-3.fc39.x86_64 libmount-2.39.2-1.fc40.x86_64 libnghttp2-1.56.0-1.fc40.x86_64 libnsl2-2.0.0-6.fc39.x86_64 libpkgconf-1.9.5-2.fc39.x86_64 libpsl-0.21.2-4.fc39.x86_64 libpwquality-1.4.5-6.fc39.x86_64 libselinux-3.5-5.fc39.x86_64 libsemanage-3.5-4.fc39.x86_64 libsepol-3.5-2.fc39.x86_64 libsigsegv-2.14-5.fc39.x86_64 libsmartcols-2.39.2-1.fc40.x86_64 libssh-0.10.5-2.fc39.x86_64 libssh-config-0.10.5-2.fc39.noarch libstdc++-13.2.1-1.fc39.x86_64 libtasn1-4.19.0-3.fc39.x86_64 libtirpc-1.3.3-1.rc2.fc39.x86_64 libunistring-1.1-5.fc40.x86_64 libutempter-1.2.1-10.fc39.x86_64 libuuid-2.39.2-1.fc40.x86_64 libverto-0.3.2-6.fc39.x86_64 libxcrypt-4.4.36-2.fc39.x86_64 libxml2-2.11.5-1.fc40.x86_64 libzstd-1.5.5-4.fc39.x86_64 lua-libs-5.4.6-3.fc39.x86_64 lua-srpm-macros-1-9.fc39.noarch lz4-libs-1.9.4-4.fc39.x86_64 mpfr-4.2.0-3.fc39.x86_64 ncurses-base-6.4-6.20230520.fc39.noarch ncurses-libs-6.4-6.20230520.fc39.x86_64 ocaml-srpm-macros-8-2.fc39.noarch openblas-srpm-macros-2-14.fc39.noarch openldap-2.6.6-1.fc39.x86_64 openssl-libs-1:3.1.1-4.fc40.x86_64 p11-kit-0.25.0-2.fc39.x86_64 p11-kit-trust-0.25.0-2.fc39.x86_64 package-notes-srpm-macros-0.5-9.fc39.noarch pam-1.5.3-2.fc39.x86_64 pam-libs-1.5.3-2.fc39.x86_64 patch-2.7.6-22.fc39.x86_64 pcre2-10.42-1.fc39.2.x86_64 pcre2-syntax-10.42-1.fc39.2.noarch perl-srpm-macros-1-51.fc39.noarch pkgconf-1.9.5-2.fc39.x86_64 pkgconf-m4-1.9.5-2.fc39.noarch pkgconf-pkg-config-1.9.5-2.fc39.x86_64 popt-1.19-3.fc39.x86_64 publicsuffix-list-dafsa-20230812-1.fc40.noarch pyproject-srpm-macros-1.9.0-2.fc39.noarch python-srpm-macros-3.12-4.fc40.noarch qt5-srpm-macros-5.15.10-2.fc39.noarch qt6-srpm-macros-6.5.2-2.fc39.noarch readline-8.2-4.fc39.x86_64 redhat-rpm-config-266-1.fc40.noarch rpm-4.18.99-1.fc40.x86_64 rpm-build-4.18.99-1.fc40.x86_64 rpm-build-libs-4.18.99-1.fc40.x86_64 rpm-libs-4.18.99-1.fc40.x86_64 rpm-sequoia-1.5.0-1.fc40.x86_64 rust-srpm-macros-24-5.fc40.noarch sed-4.8-14.fc39.x86_64 setup-2.14.4-1.fc39.noarch shadow-utils-2:4.14.0-1.fc40.x86_64 sqlite-libs-3.43.0-1.fc40.x86_64 systemd-libs-254.1-2.fc40.x86_64 tar-2:1.35-2.fc40.x86_64 tzdata-2023c-3.fc40.noarch unzip-6.0-62.fc39.x86_64 util-linux-2.39.2-1.fc40.x86_64 util-linux-core-2.39.2-1.fc40.x86_64 which-2.21-40.fc39.x86_64 xxhash-libs-0.8.2-1.fc39.x86_64 xz-5.4.4-1.fc39.x86_64 xz-libs-5.4.4-1.fc39.x86_64 zip-3.0-38.fc39.x86_64 zlib-1.2.13-4.fc39.x86_64 zstd-1.5.5-4.fc39.x86_64 Complete! Finish: installing minimal buildroot with dnf Start: creating root cache Finish: creating root cache Finish: chroot init INFO: Installed packages: INFO: libsemanage-3.5-4.fc39.x86_64 libsigsegv-2.14-5.fc39.x86_64 pyproject-srpm-macros-1.9.0-2.fc39.noarch libcap-ng-0.8.3-8.fc40.x86_64 fedora-gpg-keys-40-0.1.noarch perl-srpm-macros-1-51.fc39.noarch crypto-policies-20230731-1.git5ed06e0.fc39.noarch rpm-build-4.18.99-1.fc40.x86_64 fedora-repos-rawhide-40-0.1.noarch gzip-1.12-6.fc39.x86_64 setup-2.14.4-1.fc39.noarch libpkgconf-1.9.5-2.fc39.x86_64 util-linux-2.39.2-1.fc40.x86_64 libsepol-3.5-2.fc39.x86_64 fedora-release-40-0.7.noarch rpm-sequoia-1.5.0-1.fc40.x86_64 libxcrypt-4.4.36-2.fc39.x86_64 efi-srpm-macros-5-9.fc39.noarch package-notes-srpm-macros-0.5-9.fc39.noarch mpfr-4.2.0-3.fc39.x86_64 diffutils-3.10-3.fc39.x86_64 gnat-srpm-macros-6-3.fc39.noarch bash-5.2.15-5.fc39.x86_64 krb5-libs-1.21.2-1.fc40.x86_64 gmp-6.2.1-5.fc39.x86_64 libnsl2-2.0.0-6.fc39.x86_64 curl-8.2.1-2.fc40.x86_64 util-linux-core-2.39.2-1.fc40.x86_64 file-5.45-1.fc40.x86_64 zip-3.0-38.fc39.x86_64 pkgconf-1.9.5-2.fc39.x86_64 libfdisk-2.39.2-1.fc40.x86_64 ed-1.19-4.fc39.x86_64 findutils-4.9.0-5.fc39.x86_64 libxml2-2.11.5-1.fc40.x86_64 glibc-gconv-extra-2.38.9000-7.fc40.x86_64 libunistring-1.1-5.fc40.x86_64 publicsuffix-list-dafsa-20230812-1.fc40.noarch libstdc++-13.2.1-1.fc39.x86_64 libffi-3.4.4-4.fc39.x86_64 rpm-libs-4.18.99-1.fc40.x86_64 lua-srpm-macros-1-9.fc39.noarch libdb-5.3.28-58.fc40.x86_64 zlib-1.2.13-4.fc39.x86_64 qt5-srpm-macros-5.15.10-2.fc39.noarch gpg-pubkey-a15b79cc-63d04c2c pkgconf-pkg-config-1.9.5-2.fc39.x86_64 gpg-pubkey-18b8e74c-62f2920f python-srpm-macros-3.12-4.fc40.noarch basesystem-11-18.fc39.noarch filesystem-3.18-6.fc39.x86_64 libacl-2.3.1-9.fc40.x86_64 libidn2-2.3.4-3.fc39.x86_64 openssl-libs-3.1.1-4.fc40.x86_64 elfutils-libelf-0.189-6.fc40.x86_64 pam-1.5.3-2.fc39.x86_64 ocaml-srpm-macros-8-2.fc39.noarch authselect-libs-1.4.2-3.fc39.x86_64 pcre2-syntax-10.42-1.fc39.2.noarch rpm-build-libs-4.18.99-1.fc40.x86_64 gdbm-libs-1.23-4.fc39.x86_64 rpm-4.18.99-1.fc40.x86_64 popt-1.19-3.fc39.x86_64 elfutils-0.189-6.fc40.x86_64 ncurses-base-6.4-6.20230520.fc39.noarch debugedit-5.0-10.fc39.x86_64 unzip-6.0-62.fc39.x86_64 libevent-2.1.12-9.fc39.x86_64 pcre2-10.42-1.fc39.2.x86_64 xxhash-libs-0.8.2-1.fc39.x86_64 ca-certificates-2023.2.60_v7.0.306-2.fc39.noarch elfutils-default-yama-scope-0.189-6.fc40.noarch libcom_err-1.47.0-2.fc39.x86_64 libpsl-0.21.2-4.fc39.x86_64 audit-libs-3.1.2-3.fc40.x86_64 elfutils-libs-0.189-6.fc40.x86_64 sqlite-libs-3.43.0-1.fc40.x86_64 libselinux-3.5-5.fc39.x86_64 redhat-rpm-config-266-1.fc40.noarch libssh-0.10.5-2.fc39.x86_64 fedora-release-common-40-0.7.noarch file-libs-5.45-1.fc40.x86_64 libmount-2.39.2-1.fc40.x86_64 go-srpm-macros-3.2.0-6.fc39.noarch gawk-5.2.2-2.fc39.x86_64 libpwquality-1.4.5-6.fc39.x86_64 fpc-srpm-macros-1.3-8.fc39.noarch ghc-srpm-macros-1.6.1-2.fc39.noarch libcurl-8.2.1-2.fc40.x86_64 pam-libs-1.5.3-2.fc39.x86_64 bzip2-libs-1.0.8-16.fc39.x86_64 libzstd-1.5.5-4.fc39.x86_64 libattr-2.5.1-9.fc40.x86_64 alternatives-1.25-1.fc39.x86_64 grep-3.11-5.fc40.x86_64 kernel-srpm-macros-1.0-20.fc39.noarch elfutils-debuginfod-client-0.189-6.fc40.x86_64 libtirpc-1.3.3-1.rc2.fc39.x86_64 zstd-1.5.5-4.fc39.x86_64 libgcc-13.2.1-1.fc39.x86_64 coreutils-common-9.3-2.fc39.x86_64 openblas-srpm-macros-2-14.fc39.noarch libarchive-3.7.1-1.fc39.x86_64 info-7.0.3-3.fc39.x86_64 cpio-2.14-4.fc39.x86_64 glibc-minimal-langpack-2.38.9000-7.fc40.x86_64 pkgconf-m4-1.9.5-2.fc39.noarch fedora-repos-40-0.1.noarch coreutils-9.3-2.fc39.x86_64 libgomp-13.2.1-1.fc39.x86_64 libssh-config-0.10.5-2.fc39.noarch cracklib-2.9.11-2.fc39.x86_64 glibc-2.38.9000-7.fc40.x86_64 keyutils-libs-1.6.1-7.fc39.x86_64 libblkid-2.39.2-1.fc40.x86_64 libnghttp2-1.56.0-1.fc40.x86_64 bzip2-1.0.8-16.fc39.x86_64 readline-8.2-4.fc39.x86_64 libeconf-0.5.2-1.fc40.x86_64 forge-srpm-macros-0.1.0-1.fc40.noarch lz4-libs-1.9.4-4.fc39.x86_64 lua-libs-5.4.6-3.fc39.x86_64 binutils-gold-2.41-5.fc40.x86_64 cyrus-sasl-lib-2.1.28-11.fc39.x86_64 rust-srpm-macros-24-5.fc40.noarch libuuid-2.39.2-1.fc40.x86_64 p11-kit-0.25.0-2.fc39.x86_64 patch-2.7.6-22.fc39.x86_64 libtasn1-4.19.0-3.fc39.x86_64 tar-1.35-2.fc40.x86_64 shadow-utils-4.14.0-1.fc40.x86_64 authselect-1.4.2-3.fc39.x86_64 xz-libs-5.4.4-1.fc39.x86_64 xz-5.4.4-1.fc39.x86_64 tzdata-2023c-3.fc40.noarch qt6-srpm-macros-6.5.2-2.fc39.noarch ncurses-libs-6.4-6.20230520.fc39.x86_64 sed-4.8-14.fc39.x86_64 openldap-2.6.6-1.fc39.x86_64 jansson-2.13.1-7.fc39.x86_64 libverto-0.3.2-6.fc39.x86_64 ansible-srpm-macros-1-11.fc39.noarch libutempter-1.2.1-10.fc39.x86_64 libsmartcols-2.39.2-1.fc40.x86_64 libcap-2.48-7.fc39.x86_64 systemd-libs-254.1-2.fc40.x86_64 libbrotli-1.0.9-13.fc39.x86_64 p11-kit-trust-0.25.0-2.fc39.x86_64 fonts-srpm-macros-2.0.5-12.fc39.noarch which-2.21-40.fc39.x86_64 fedora-release-identity-basic-40-0.7.noarch gdb-minimal-13.2-7.fc39.x86_64 dwz-0.15-3.fc39.x86_64 glibc-common-2.38.9000-7.fc40.x86_64 binutils-2.41-5.fc40.x86_64 Start: buildsrpm Start: rpmbuild -bs Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1692403200 Wrote: /builddir/build/SRPMS/pytorch-2.0.1-10.fc40.src.rpm Finish: rpmbuild -bs INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root/var/log/dnf.rpm.log /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root/var/log/dnf.librepo.log /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root/var/log/dnf.log Finish: buildsrpm INFO: Done(/var/lib/copr-rpmbuild/workspace/workdir-zy2bvhpp/pytorch/pytorch.spec) Config(child) 1 minutes 19 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot INFO: Start(/var/lib/copr-rpmbuild/results/pytorch-2.0.1-10.fc40.src.rpm) Config(fedora-rawhide-x86_64) Start(bootstrap): chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1694480301.783496/root. INFO: reusing tmpfs at /var/lib/mock/fedora-rawhide-x86_64-bootstrap-1694480301.783496/root. INFO: calling preinit hooks INFO: enabled root cache INFO: enabled package manager cache Start(bootstrap): cleaning package manager metadata Finish(bootstrap): cleaning package manager metadata Finish(bootstrap): chroot init Start: chroot init INFO: mounting tmpfs at /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root. INFO: calling preinit hooks INFO: enabled root cache Start: unpacking root cache Finish: unpacking root cache INFO: enabled package manager cache Start: cleaning package manager metadata Finish: cleaning package manager metadata INFO: enabled HW Info plugin Finish: chroot init Start: build phase for pytorch-2.0.1-10.fc40.src.rpm Start: build setup for pytorch-2.0.1-10.fc40.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1692403200 Wrote: /builddir/build/SRPMS/pytorch-2.0.1-10.fc40.src.rpm No matches found for the following disable plugin patterns: local, spacewalk, versionlock Copr repository 43 kB/s | 1.5 kB 00:00 fedora 622 kB/s | 23 kB 00:00 Dependencies resolved. ================================================================================ Package Arch Version Repo Size ================================================================================ Installing: blas-static x86_64 3.11.0-5.fc39 fedora 291 k ccache x86_64 4.8.3-1.fc40 fedora 664 k clang-devel x86_64 17.0.0~rc3-1.fc40 fedora 3.2 M cmake x86_64 3.27.4-6.fc40 fedora 8.0 M cpuinfo-devel x86_64 23.2.14-3.giteb4a667.fc39 fedora 22 k gcc-c++ x86_64 13.2.1-1.fc39 fedora 13 M lapack-static x86_64 3.11.0-5.fc39 fedora 14 M make x86_64 1:4.4.1-2.fc39 fedora 589 k protobuf-devel x86_64 3.19.6-6.fc39 fedora 391 k python3-pybind11 x86_64 2.11.1-1.fc39 fedora 198 k python3-pyyaml x86_64 6.0.1-11.fc39 fedora 230 k python3-typing-extensions noarch 4.7.1-2.fc39 fedora 79 k sleef-devel x86_64 3.5.1-27.fc39 fedora 22 k Installing dependencies: annobin-docs noarch 12.26-1.fc40 fedora 94 k annobin-plugin-gcc x86_64 12.26-1.fc40 fedora 958 k blas x86_64 3.11.0-5.fc39 fedora 396 k blas-devel x86_64 3.11.0-5.fc39 fedora 25 k blas64 x86_64 3.11.0-5.fc39 fedora 225 k blas64_ x86_64 3.11.0-5.fc39 fedora 225 k clang x86_64 17.0.0~rc3-1.fc40 fedora 76 k clang-libs x86_64 17.0.0~rc3-1.fc40 fedora 23 M clang-resource-filesystem x86_64 17.0.0~rc3-1.fc40 fedora 13 k clang-tools-extra x86_64 17.0.0~rc3-1.fc40 fedora 19 M cmake-data noarch 3.27.4-6.fc40 fedora 2.2 M cmake-filesystem x86_64 3.27.4-6.fc40 fedora 18 k cmake-rpm-macros noarch 3.27.4-6.fc40 fedora 18 k cpp x86_64 13.2.1-1.fc39 fedora 11 M cpuinfo x86_64 23.2.14-3.giteb4a667.fc39 fedora 42 k emacs-filesystem noarch 1:29.1-1.fc39 fedora 8.4 k expat x86_64 2.5.0-3.fc39 fedora 110 k gc x86_64 8.2.2-4.fc39 fedora 110 k gcc x86_64 13.2.1-1.fc39 fedora 34 M gcc-gfortran x86_64 13.2.1-1.fc39 fedora 12 M gcc-plugin-annobin x86_64 13.2.1-1.fc39 fedora 47 k glibc-devel x86_64 2.38.9000-7.fc40 fedora 88 k glibc-headers-x86 noarch 2.38.9000-7.fc40 fedora 572 k guile22 x86_64 2.2.7-9.fc39 fedora 6.5 M hiredis x86_64 1.0.2-5.fc39 fedora 42 k jsoncpp x86_64 1.9.5-5.fc39 fedora 99 k kernel-headers x86_64 6.5.0-1.fc40 fedora 1.5 M lapack x86_64 3.11.0-5.fc39 fedora 9.5 M lapack-devel x86_64 3.11.0-5.fc39 fedora 85 k lapack64 x86_64 3.11.0-5.fc39 fedora 2.3 M lapack64_ x86_64 3.11.0-5.fc39 fedora 2.3 M libb2 x86_64 0.98.1-9.fc39 fedora 25 k libedit x86_64 3.1-48.20230828cvs.fc40 fedora 107 k libgfortran x86_64 13.2.1-1.fc39 fedora 903 k libmpc x86_64 1.3.1-3.fc39 fedora 70 k libquadmath x86_64 13.2.1-1.fc39 fedora 194 k libquadmath-devel x86_64 13.2.1-1.fc39 fedora 36 k libstdc++-devel x86_64 13.2.1-1.fc39 fedora 2.6 M libtool-ltdl x86_64 2.4.7-8.fc40 fedora 36 k libuv x86_64 1:1.46.0-2.fc39 fedora 159 k libxcrypt-devel x86_64 4.4.36-2.fc39 fedora 30 k libyaml x86_64 0.2.5-12.fc39 fedora 59 k llvm x86_64 17.0.0~rc3-1.fc40 fedora 25 M llvm-libs x86_64 17.0.0~rc3-1.fc40 fedora 27 M mpdecimal x86_64 2.5.1-7.fc39 fedora 89 k protobuf x86_64 3.19.6-6.fc39 fedora 1.0 M protobuf-compiler x86_64 3.19.6-6.fc39 fedora 764 k pybind11-devel x86_64 2.11.1-1.fc39 fedora 176 k python-pip-wheel noarch 23.2.1-1.fc39 fedora 1.5 M python3 x86_64 3.12.0~rc2-1.fc40 fedora 26 k python3-libs x86_64 3.12.0~rc2-1.fc40 fedora 9.2 M rhash x86_64 1.4.3-3.fc39 fedora 194 k sleef x86_64 3.5.1-27.fc39 fedora 862 k vim-filesystem noarch 2:9.0.1882-1.fc40 fedora 18 k zlib-devel x86_64 1.2.13-4.fc39 fedora 45 k Transaction Summary ================================================================================ Install 68 Packages Total download size: 238 M Installed size: 938 M Downloading Packages: (1/68): annobin-docs-12.26-1.fc40.noarch.rpm 399 kB/s | 94 kB 00:00 (2/68): blas-devel-3.11.0-5.fc39.x86_64.rpm 714 kB/s | 25 kB 00:00 (3/68): blas-3.11.0-5.fc39.x86_64.rpm 1.4 MB/s | 396 kB 00:00 (4/68): annobin-plugin-gcc-12.26-1.fc40.x86_64. 2.8 MB/s | 958 kB 00:00 (5/68): blas64-3.11.0-5.fc39.x86_64.rpm 3.1 MB/s | 225 kB 00:00 (6/68): blas64_-3.11.0-5.fc39.x86_64.rpm 5.6 MB/s | 225 kB 00:00 (7/68): blas-static-3.11.0-5.fc39.x86_64.rpm 2.3 MB/s | 291 kB 00:00 (8/68): clang-17.0.0~rc3-1.fc40.x86_64.rpm 1.1 MB/s | 76 kB 00:00 (9/68): ccache-4.8.3-1.fc40.x86_64.rpm 6.3 MB/s | 664 kB 00:00 (10/68): clang-resource-filesystem-17.0.0~rc3-1 108 kB/s | 13 kB 00:00 (11/68): clang-devel-17.0.0~rc3-1.fc40.x86_64.r 14 MB/s | 3.2 MB 00:00 (12/68): cmake-3.27.4-6.fc40.x86_64.rpm 25 MB/s | 8.0 MB 00:00 (13/68): cmake-data-3.27.4-6.fc40.noarch.rpm 12 MB/s | 2.2 MB 00:00 (14/68): cmake-filesystem-3.27.4-6.fc40.x86_64. 561 kB/s | 18 kB 00:00 (15/68): clang-libs-17.0.0~rc3-1.fc40.x86_64.rp 30 MB/s | 23 MB 00:00 (16/68): cmake-rpm-macros-3.27.4-6.fc40.noarch. 585 kB/s | 18 kB 00:00 (17/68): clang-tools-extra-17.0.0~rc3-1.fc40.x8 27 MB/s | 19 MB 00:00 (18/68): cpuinfo-23.2.14-3.giteb4a667.fc39.x86_ 618 kB/s | 42 kB 00:00 (19/68): cpuinfo-devel-23.2.14-3.giteb4a667.fc3 234 kB/s | 22 kB 00:00 (20/68): emacs-filesystem-29.1-1.fc39.noarch.rp 82 kB/s | 8.4 kB 00:00 (21/68): expat-2.5.0-3.fc39.x86_64.rpm 3.4 MB/s | 110 kB 00:00 (22/68): gc-8.2.2-4.fc39.x86_64.rpm 1.0 MB/s | 110 kB 00:00 (23/68): cpp-13.2.1-1.fc39.x86_64.rpm 35 MB/s | 11 MB 00:00 (24/68): gcc-gfortran-13.2.1-1.fc39.x86_64.rpm 14 MB/s | 12 MB 00:00 (25/68): gcc-c++-13.2.1-1.fc39.x86_64.rpm 14 MB/s | 13 MB 00:00 (26/68): gcc-plugin-annobin-13.2.1-1.fc39.x86_6 689 kB/s | 47 kB 00:00 (27/68): glibc-devel-2.38.9000-7.fc40.x86_64.rp 1.3 MB/s | 88 kB 00:00 (28/68): glibc-headers-x86-2.38.9000-7.fc40.noa 6.0 MB/s | 572 kB 00:00 (29/68): hiredis-1.0.2-5.fc39.x86_64.rpm 647 kB/s | 42 kB 00:00 (30/68): jsoncpp-1.9.5-5.fc39.x86_64.rpm 1.8 MB/s | 99 kB 00:00 (31/68): kernel-headers-6.5.0-1.fc40.x86_64.rpm 17 MB/s | 1.5 MB 00:00 (32/68): guile22-2.2.7-9.fc39.x86_64.rpm 15 MB/s | 6.5 MB 00:00 (33/68): gcc-13.2.1-1.fc39.x86_64.rpm 22 MB/s | 34 MB 00:01 (34/68): lapack-3.11.0-5.fc39.x86_64.rpm 47 MB/s | 9.5 MB 00:00 (35/68): lapack-devel-3.11.0-5.fc39.x86_64.rpm 1.9 MB/s | 85 kB 00:00 (36/68): lapack64_-3.11.0-5.fc39.x86_64.rpm 23 MB/s | 2.3 MB 00:00 (37/68): libb2-0.98.1-9.fc39.x86_64.rpm 830 kB/s | 25 kB 00:00 (38/68): lapack64-3.11.0-5.fc39.x86_64.rpm 15 MB/s | 2.3 MB 00:00 (39/68): libedit-3.1-48.20230828cvs.fc40.x86_64 3.3 MB/s | 107 kB 00:00 (40/68): libmpc-1.3.1-3.fc39.x86_64.rpm 1.4 MB/s | 70 kB 00:00 (41/68): libgfortran-13.2.1-1.fc39.x86_64.rpm 13 MB/s | 903 kB 00:00 (42/68): libquadmath-devel-13.2.1-1.fc39.x86_64 450 kB/s | 36 kB 00:00 (43/68): libquadmath-13.2.1-1.fc39.x86_64.rpm 2.1 MB/s | 194 kB 00:00 (44/68): libtool-ltdl-2.4.7-8.fc40.x86_64.rpm 273 kB/s | 36 kB 00:00 (45/68): libstdc++-devel-13.2.1-1.fc39.x86_64.r 15 MB/s | 2.6 MB 00:00 (46/68): libuv-1.46.0-2.fc39.x86_64.rpm 2.8 MB/s | 159 kB 00:00 (47/68): lapack-static-3.11.0-5.fc39.x86_64.rpm 28 MB/s | 14 MB 00:00 (48/68): libyaml-0.2.5-12.fc39.x86_64.rpm 1.9 MB/s | 59 kB 00:00 (49/68): libxcrypt-devel-4.4.36-2.fc39.x86_64.r 487 kB/s | 30 kB 00:00 (50/68): make-4.4.1-2.fc39.x86_64.rpm 11 MB/s | 589 kB 00:00 (51/68): mpdecimal-2.5.1-7.fc39.x86_64.rpm 2.6 MB/s | 89 kB 00:00 (52/68): protobuf-3.19.6-6.fc39.x86_64.rpm 3.4 MB/s | 1.0 MB 00:00 (53/68): protobuf-compiler-3.19.6-6.fc39.x86_64 4.9 MB/s | 764 kB 00:00 (54/68): protobuf-devel-3.19.6-6.fc39.x86_64.rp 4.7 MB/s | 391 kB 00:00 (55/68): pybind11-devel-2.11.1-1.fc39.x86_64.rp 1.5 MB/s | 176 kB 00:00 (56/68): python-pip-wheel-23.2.1-1.fc39.noarch. 20 MB/s | 1.5 MB 00:00 (57/68): llvm-libs-17.0.0~rc3-1.fc40.x86_64.rpm 31 MB/s | 27 MB 00:00 (58/68): python3-3.12.0~rc2-1.fc40.x86_64.rpm 528 kB/s | 26 kB 00:00 (59/68): python3-pybind11-2.11.1-1.fc39.x86_64. 1.3 MB/s | 198 kB 00:00 (60/68): llvm-17.0.0~rc3-1.fc40.x86_64.rpm 23 MB/s | 25 MB 00:01 (61/68): python3-pyyaml-6.0.1-11.fc39.x86_64.rp 3.8 MB/s | 230 kB 00:00 (62/68): python3-typing-extensions-4.7.1-2.fc39 2.4 MB/s | 79 kB 00:00 (63/68): rhash-1.4.3-3.fc39.x86_64.rpm 5.5 MB/s | 194 kB 00:00 (64/68): sleef-devel-3.5.1-27.fc39.x86_64.rpm 677 kB/s | 22 kB 00:00 (65/68): sleef-3.5.1-27.fc39.x86_64.rpm 15 MB/s | 862 kB 00:00 (66/68): python3-libs-3.12.0~rc2-1.fc40.x86_64. 31 MB/s | 9.2 MB 00:00 (67/68): vim-filesystem-9.0.1882-1.fc40.noarch. 587 kB/s | 18 kB 00:00 (68/68): zlib-devel-1.2.13-4.fc39.x86_64.rpm 983 kB/s | 45 kB 00:00 -------------------------------------------------------------------------------- Total 50 MB/s | 238 MB 00:04 Running transaction check Transaction check succeeded. Running transaction test Transaction test succeeded. Running transaction Preparing : 1/1 Installing : libgfortran-13.2.1-1.fc39.x86_64 1/68 Installing : cmake-filesystem-3.27.4-6.fc40.x86_64 2/68 Installing : libmpc-1.3.1-3.fc39.x86_64 3/68 Installing : blas-3.11.0-5.fc39.x86_64 4/68 Installing : blas64-3.11.0-5.fc39.x86_64 5/68 Installing : blas64_-3.11.0-5.fc39.x86_64 6/68 Installing : protobuf-3.19.6-6.fc39.x86_64 7/68 Installing : libstdc++-devel-13.2.1-1.fc39.x86_64 8/68 Installing : libquadmath-13.2.1-1.fc39.x86_64 9/68 Installing : expat-2.5.0-3.fc39.x86_64 10/68 Installing : emacs-filesystem-1:29.1-1.fc39.noarch 11/68 Installing : protobuf-compiler-3.19.6-6.fc39.x86_64 12/68 Installing : lapack64_-3.11.0-5.fc39.x86_64 13/68 Installing : lapack64-3.11.0-5.fc39.x86_64 14/68 Installing : lapack-3.11.0-5.fc39.x86_64 15/68 Installing : cpp-13.2.1-1.fc39.x86_64 16/68 Installing : zlib-devel-1.2.13-4.fc39.x86_64 17/68 Installing : vim-filesystem-2:9.0.1882-1.fc40.noarch 18/68 Installing : sleef-3.5.1-27.fc39.x86_64 19/68 Installing : rhash-1.4.3-3.fc39.x86_64 20/68 Installing : python-pip-wheel-23.2.1-1.fc39.noarch 21/68 Installing : mpdecimal-2.5.1-7.fc39.x86_64 22/68 Installing : libyaml-0.2.5-12.fc39.x86_64 23/68 Installing : libuv-1:1.46.0-2.fc39.x86_64 24/68 Installing : libtool-ltdl-2.4.7-8.fc40.x86_64 25/68 Installing : libedit-3.1-48.20230828cvs.fc40.x86_64 26/68 Installing : llvm-libs-17.0.0~rc3-1.fc40.x86_64 27/68 Installing : libb2-0.98.1-9.fc39.x86_64 28/68 Installing : python3-3.12.0~rc2-1.fc40.x86_64 29/68 Installing : python3-libs-3.12.0~rc2-1.fc40.x86_64 30/68 Installing : cmake-rpm-macros-3.27.4-6.fc40.noarch 31/68 Installing : kernel-headers-6.5.0-1.fc40.x86_64 32/68 Installing : jsoncpp-1.9.5-5.fc39.x86_64 33/68 Installing : hiredis-1.0.2-5.fc39.x86_64 34/68 Installing : glibc-headers-x86-2.38.9000-7.fc40.noarch 35/68 Installing : libxcrypt-devel-4.4.36-2.fc39.x86_64 36/68 Installing : glibc-devel-2.38.9000-7.fc40.x86_64 37/68 Installing : gc-8.2.2-4.fc39.x86_64 38/68 Installing : guile22-2.2.7-9.fc39.x86_64 39/68 Installing : make-1:4.4.1-2.fc39.x86_64 40/68 Installing : gcc-13.2.1-1.fc39.x86_64 41/68 Running scriptlet: gcc-13.2.1-1.fc39.x86_64 41/68 Installing : cmake-data-3.27.4-6.fc40.noarch 42/68 Installing : cmake-3.27.4-6.fc40.x86_64 43/68 Installing : pybind11-devel-2.11.1-1.fc39.x86_64 44/68 Installing : gcc-c++-13.2.1-1.fc39.x86_64 45/68 Installing : libquadmath-devel-13.2.1-1.fc39.x86_64 46/68 Installing : gcc-gfortran-13.2.1-1.fc39.x86_64 47/68 Installing : blas-devel-3.11.0-5.fc39.x86_64 48/68 Installing : lapack-devel-3.11.0-5.fc39.x86_64 49/68 Installing : cpuinfo-23.2.14-3.giteb4a667.fc39.x86_64 50/68 Installing : clang-resource-filesystem-17.0.0~rc3-1.fc40.x86_64 51/68 Installing : clang-libs-17.0.0~rc3-1.fc40.x86_64 52/68 Installing : clang-17.0.0~rc3-1.fc40.x86_64 53/68 Installing : clang-tools-extra-17.0.0~rc3-1.fc40.x86_64 54/68 Installing : annobin-docs-12.26-1.fc40.noarch 55/68 Installing : annobin-plugin-gcc-12.26-1.fc40.x86_64 56/68 Running scriptlet: annobin-plugin-gcc-12.26-1.fc40.x86_64 56/68 Installing : clang-devel-17.0.0~rc3-1.fc40.x86_64 57/68 Installing : cpuinfo-devel-23.2.14-3.giteb4a667.fc39.x86_64 58/68 Installing : lapack-static-3.11.0-5.fc39.x86_64 59/68 Installing : blas-static-3.11.0-5.fc39.x86_64 60/68 Installing : python3-pybind11-2.11.1-1.fc39.x86_64 61/68 Installing : gcc-plugin-annobin-13.2.1-1.fc39.x86_64 62/68 Running scriptlet: gcc-plugin-annobin-13.2.1-1.fc39.x86_64 62/68 Running scriptlet: ccache-4.8.3-1.fc40.x86_64 63/68 Installing : ccache-4.8.3-1.fc40.x86_64 63/68 Running scriptlet: ccache-4.8.3-1.fc40.x86_64 63/68 Installing : llvm-17.0.0~rc3-1.fc40.x86_64 64/68 Installing : python3-pyyaml-6.0.1-11.fc39.x86_64 65/68 Installing : python3-typing-extensions-4.7.1-2.fc39.noarch 66/68 Installing : sleef-devel-3.5.1-27.fc39.x86_64 67/68 Installing : protobuf-devel-3.19.6-6.fc39.x86_64 68/68 Running scriptlet: protobuf-devel-3.19.6-6.fc39.x86_64 68/68 Verifying : annobin-docs-12.26-1.fc40.noarch 1/68 Verifying : annobin-plugin-gcc-12.26-1.fc40.x86_64 2/68 Verifying : blas-3.11.0-5.fc39.x86_64 3/68 Verifying : blas-devel-3.11.0-5.fc39.x86_64 4/68 Verifying : blas-static-3.11.0-5.fc39.x86_64 5/68 Verifying : blas64-3.11.0-5.fc39.x86_64 6/68 Verifying : blas64_-3.11.0-5.fc39.x86_64 7/68 Verifying : ccache-4.8.3-1.fc40.x86_64 8/68 Verifying : clang-17.0.0~rc3-1.fc40.x86_64 9/68 Verifying : clang-devel-17.0.0~rc3-1.fc40.x86_64 10/68 Verifying : clang-libs-17.0.0~rc3-1.fc40.x86_64 11/68 Verifying : clang-resource-filesystem-17.0.0~rc3-1.fc40.x86_64 12/68 Verifying : clang-tools-extra-17.0.0~rc3-1.fc40.x86_64 13/68 Verifying : cmake-3.27.4-6.fc40.x86_64 14/68 Verifying : cmake-data-3.27.4-6.fc40.noarch 15/68 Verifying : cmake-filesystem-3.27.4-6.fc40.x86_64 16/68 Verifying : cmake-rpm-macros-3.27.4-6.fc40.noarch 17/68 Verifying : cpp-13.2.1-1.fc39.x86_64 18/68 Verifying : cpuinfo-23.2.14-3.giteb4a667.fc39.x86_64 19/68 Verifying : cpuinfo-devel-23.2.14-3.giteb4a667.fc39.x86_64 20/68 Verifying : emacs-filesystem-1:29.1-1.fc39.noarch 21/68 Verifying : expat-2.5.0-3.fc39.x86_64 22/68 Verifying : gc-8.2.2-4.fc39.x86_64 23/68 Verifying : gcc-13.2.1-1.fc39.x86_64 24/68 Verifying : gcc-c++-13.2.1-1.fc39.x86_64 25/68 Verifying : gcc-gfortran-13.2.1-1.fc39.x86_64 26/68 Verifying : gcc-plugin-annobin-13.2.1-1.fc39.x86_64 27/68 Verifying : glibc-devel-2.38.9000-7.fc40.x86_64 28/68 Verifying : glibc-headers-x86-2.38.9000-7.fc40.noarch 29/68 Verifying : guile22-2.2.7-9.fc39.x86_64 30/68 Verifying : hiredis-1.0.2-5.fc39.x86_64 31/68 Verifying : jsoncpp-1.9.5-5.fc39.x86_64 32/68 Verifying : kernel-headers-6.5.0-1.fc40.x86_64 33/68 Verifying : lapack-3.11.0-5.fc39.x86_64 34/68 Verifying : lapack-devel-3.11.0-5.fc39.x86_64 35/68 Verifying : lapack-static-3.11.0-5.fc39.x86_64 36/68 Verifying : lapack64-3.11.0-5.fc39.x86_64 37/68 Verifying : lapack64_-3.11.0-5.fc39.x86_64 38/68 Verifying : libb2-0.98.1-9.fc39.x86_64 39/68 Verifying : libedit-3.1-48.20230828cvs.fc40.x86_64 40/68 Verifying : libgfortran-13.2.1-1.fc39.x86_64 41/68 Verifying : libmpc-1.3.1-3.fc39.x86_64 42/68 Verifying : libquadmath-13.2.1-1.fc39.x86_64 43/68 Verifying : libquadmath-devel-13.2.1-1.fc39.x86_64 44/68 Verifying : libstdc++-devel-13.2.1-1.fc39.x86_64 45/68 Verifying : libtool-ltdl-2.4.7-8.fc40.x86_64 46/68 Verifying : libuv-1:1.46.0-2.fc39.x86_64 47/68 Verifying : libxcrypt-devel-4.4.36-2.fc39.x86_64 48/68 Verifying : libyaml-0.2.5-12.fc39.x86_64 49/68 Verifying : llvm-17.0.0~rc3-1.fc40.x86_64 50/68 Verifying : llvm-libs-17.0.0~rc3-1.fc40.x86_64 51/68 Verifying : make-1:4.4.1-2.fc39.x86_64 52/68 Verifying : mpdecimal-2.5.1-7.fc39.x86_64 53/68 Verifying : protobuf-3.19.6-6.fc39.x86_64 54/68 Verifying : protobuf-compiler-3.19.6-6.fc39.x86_64 55/68 Verifying : protobuf-devel-3.19.6-6.fc39.x86_64 56/68 Verifying : pybind11-devel-2.11.1-1.fc39.x86_64 57/68 Verifying : python-pip-wheel-23.2.1-1.fc39.noarch 58/68 Verifying : python3-3.12.0~rc2-1.fc40.x86_64 59/68 Verifying : python3-libs-3.12.0~rc2-1.fc40.x86_64 60/68 Verifying : python3-pybind11-2.11.1-1.fc39.x86_64 61/68 Verifying : python3-pyyaml-6.0.1-11.fc39.x86_64 62/68 Verifying : python3-typing-extensions-4.7.1-2.fc39.noarch 63/68 Verifying : rhash-1.4.3-3.fc39.x86_64 64/68 Verifying : sleef-3.5.1-27.fc39.x86_64 65/68 Verifying : sleef-devel-3.5.1-27.fc39.x86_64 66/68 Verifying : vim-filesystem-2:9.0.1882-1.fc40.noarch 67/68 Verifying : zlib-devel-1.2.13-4.fc39.x86_64 68/68 Installed: annobin-docs-12.26-1.fc40.noarch annobin-plugin-gcc-12.26-1.fc40.x86_64 blas-3.11.0-5.fc39.x86_64 blas-devel-3.11.0-5.fc39.x86_64 blas-static-3.11.0-5.fc39.x86_64 blas64-3.11.0-5.fc39.x86_64 blas64_-3.11.0-5.fc39.x86_64 ccache-4.8.3-1.fc40.x86_64 clang-17.0.0~rc3-1.fc40.x86_64 clang-devel-17.0.0~rc3-1.fc40.x86_64 clang-libs-17.0.0~rc3-1.fc40.x86_64 clang-resource-filesystem-17.0.0~rc3-1.fc40.x86_64 clang-tools-extra-17.0.0~rc3-1.fc40.x86_64 cmake-3.27.4-6.fc40.x86_64 cmake-data-3.27.4-6.fc40.noarch cmake-filesystem-3.27.4-6.fc40.x86_64 cmake-rpm-macros-3.27.4-6.fc40.noarch cpp-13.2.1-1.fc39.x86_64 cpuinfo-23.2.14-3.giteb4a667.fc39.x86_64 cpuinfo-devel-23.2.14-3.giteb4a667.fc39.x86_64 emacs-filesystem-1:29.1-1.fc39.noarch expat-2.5.0-3.fc39.x86_64 gc-8.2.2-4.fc39.x86_64 gcc-13.2.1-1.fc39.x86_64 gcc-c++-13.2.1-1.fc39.x86_64 gcc-gfortran-13.2.1-1.fc39.x86_64 gcc-plugin-annobin-13.2.1-1.fc39.x86_64 glibc-devel-2.38.9000-7.fc40.x86_64 glibc-headers-x86-2.38.9000-7.fc40.noarch guile22-2.2.7-9.fc39.x86_64 hiredis-1.0.2-5.fc39.x86_64 jsoncpp-1.9.5-5.fc39.x86_64 kernel-headers-6.5.0-1.fc40.x86_64 lapack-3.11.0-5.fc39.x86_64 lapack-devel-3.11.0-5.fc39.x86_64 lapack-static-3.11.0-5.fc39.x86_64 lapack64-3.11.0-5.fc39.x86_64 lapack64_-3.11.0-5.fc39.x86_64 libb2-0.98.1-9.fc39.x86_64 libedit-3.1-48.20230828cvs.fc40.x86_64 libgfortran-13.2.1-1.fc39.x86_64 libmpc-1.3.1-3.fc39.x86_64 libquadmath-13.2.1-1.fc39.x86_64 libquadmath-devel-13.2.1-1.fc39.x86_64 libstdc++-devel-13.2.1-1.fc39.x86_64 libtool-ltdl-2.4.7-8.fc40.x86_64 libuv-1:1.46.0-2.fc39.x86_64 libxcrypt-devel-4.4.36-2.fc39.x86_64 libyaml-0.2.5-12.fc39.x86_64 llvm-17.0.0~rc3-1.fc40.x86_64 llvm-libs-17.0.0~rc3-1.fc40.x86_64 make-1:4.4.1-2.fc39.x86_64 mpdecimal-2.5.1-7.fc39.x86_64 protobuf-3.19.6-6.fc39.x86_64 protobuf-compiler-3.19.6-6.fc39.x86_64 protobuf-devel-3.19.6-6.fc39.x86_64 pybind11-devel-2.11.1-1.fc39.x86_64 python-pip-wheel-23.2.1-1.fc39.noarch python3-3.12.0~rc2-1.fc40.x86_64 python3-libs-3.12.0~rc2-1.fc40.x86_64 python3-pybind11-2.11.1-1.fc39.x86_64 python3-pyyaml-6.0.1-11.fc39.x86_64 python3-typing-extensions-4.7.1-2.fc39.noarch rhash-1.4.3-3.fc39.x86_64 sleef-3.5.1-27.fc39.x86_64 sleef-devel-3.5.1-27.fc39.x86_64 vim-filesystem-2:9.0.1882-1.fc40.noarch zlib-devel-1.2.13-4.fc39.x86_64 Complete! Finish: build setup for pytorch-2.0.1-10.fc40.src.rpm Start: rpmbuild pytorch-2.0.1-10.fc40.src.rpm Building target platforms: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1692403200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6n79u2 + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf pytorch-v2.0.1 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/pytorch-v2.0.1.tar.gz + STATUS=0 + '[' 0 -ne 0 ']' + cd pytorch-v2.0.1 + rm -rf /builddir/build/BUILD/pytorch-v2.0.1-SPECPARTS + /usr/bin/mkdir -p /builddir/build/BUILD/pytorch-v2.0.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0001-Include-stdexcept.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0002-Include-stdint.h.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0003-fix-cpuinfo-implicit-syscall.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0004-do-not-force-Werror-on-Pooling.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /builddir/build/SOURCES/0005-fallback-to-cpu_kernel-for-VSX.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.uc3zPn + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytorch-v2.0.1 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + /usr/bin/cmake -S . -B redhat-linux-build -DCMAKE_C_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_CXX_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_Fortran_FLAGS_RELEASE:STRING=-DNDEBUG -DCMAKE_VERBOSE_MAKEFILE:BOOL=ON -DCMAKE_INSTALL_DO_STRIP:BOOL=OFF -DCMAKE_INSTALL_PREFIX:PATH=/usr -DINCLUDE_INSTALL_DIR:PATH=/usr/include -DLIB_INSTALL_DIR:PATH=/usr/lib64 -DSYSCONF_INSTALL_DIR:PATH=/etc -DSHARE_INSTALL_PREFIX:PATH=/usr/share -DLIB_SUFFIX=64 -DBUILD_SHARED_LIBS:BOOL=ON -DCMAKE_FIND_PACKAGE_PREFER_CONFIG=ON -DBUILD_CUSTOM_PROTOBUF=OFF -DBUILD_PYTHON=OFF -DUSE_CUDA=OFF -DBUILD_SHARED_LIBS=ON -DCAFFE2_LINK_LOCAL_PROTOBUF=OFF -DONNX_ML=OFF -DUSE_CUDA=OFF -DUSE_FBGEMM=OFF -DUSE_KINETO=OFF -DUSE_MKLDNN=OFF -DUSE_NNPACK=OFF -DUSE_ROCM=OFF -DUSE_SYSTEM_CPUINFO=ON -DUSE_SYSTEM_PYBIND11=ON -DUSE_SYSTEM_SLEEF=ON -DUSE_TENSORPIPE=OFF -DUSE_XNNPACK=OFF -- The CXX compiler identification is GNU 13.2.1 -- The C compiler identification is GNU 13.2.1 -- Detecting CXX compiler ABI info -- Detecting CXX compiler ABI info - done -- Check for working CXX compiler: /usr/lib64/ccache/g++ - skipped -- Detecting CXX compile features -- Detecting CXX compile features - done -- Detecting C compiler ABI info -- Detecting C compiler ABI info - done -- Check for working C compiler: /usr/lib64/ccache/gcc - skipped -- Detecting C compile features -- Detecting C compile features - done -- /usr/lib64/ccache/g++ /builddir/build/BUILD/pytorch-v2.0.1/torch/abi-check.cpp -o /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/abi-check -- Determined _GLIBCXX_USE_CXX11_ABI=1 -- Not forcing any particular BLAS to be found -- Build type not set - defaulting to Release -- Performing Test COMPILER_WORKS -- Performing Test COMPILER_WORKS - Success -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING -- Performing Test CAFFE2_NEED_TO_TURN_OFF_DEPRECATION_WARNING - Failed -- Turning off deprecation warning due to glog. -- Performing Test C_HAS_AVX_1 -- Performing Test C_HAS_AVX_1 - Success -- Performing Test C_HAS_AVX2_1 -- Performing Test C_HAS_AVX2_1 - Success -- Performing Test C_HAS_AVX512_1 -- Performing Test C_HAS_AVX512_1 - Failed -- Performing Test C_HAS_AVX512_2 -- Performing Test C_HAS_AVX512_2 - Success -- Performing Test CXX_HAS_AVX_1 -- Performing Test CXX_HAS_AVX_1 - Success -- Performing Test CXX_HAS_AVX2_1 -- Performing Test CXX_HAS_AVX2_1 - Success -- Performing Test CXX_HAS_AVX512_1 -- Performing Test CXX_HAS_AVX512_1 - Failed -- Performing Test CXX_HAS_AVX512_2 -- Performing Test CXX_HAS_AVX512_2 - Success -- Current compiler supports avx2 extension. Will build perfkernels. -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS -- Performing Test CAFFE2_COMPILER_SUPPORTS_AVX512_EXTENSIONS - Success -- Current compiler supports avx512f extension. Will build fbgemm. -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_VISIBILITY - Success -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY -- Performing Test COMPILER_SUPPORTS_HIDDEN_INLINE_VISIBILITY - Success -- Performing Test COMPILER_SUPPORTS_RDYNAMIC -- Performing Test COMPILER_SUPPORTS_RDYNAMIC - Success -- Caffe2: Found protobuf with new-style protobuf targets. -- Caffe2 protobuf include directory: /usr/include -- Found Threads: TRUE -- Trying to find preferred BLAS backend of choice: MKL -- MKL_THREADING = OMP -- Looking for sys/types.h -- Looking for sys/types.h - found -- Looking for stdint.h -- Looking for stdint.h - found -- Looking for stddef.h -- Looking for stddef.h - found -- Check size of void* -- Check size of void* - done -- MKL_THREADING = OMP CMake Warning at cmake/Dependencies.cmake:226 (message): MKL could not be found. Defaulting to Eigen Call Stack (most recent call first): CMakeLists.txt:717 (include) CMake Warning at cmake/Dependencies.cmake:263 (message): Preferred BLAS (MKL) cannot be found, now searching for a general BLAS library Call Stack (most recent call first): CMakeLists.txt:717 (include) -- MKL_THREADING = OMP -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_intel - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf_lp64 - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_gnu_thread - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_gf - mkl_intel_thread - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_sequential - mkl_core - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_sequential - mkl_core - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_sequential - mkl_core - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_sequential - mkl_core - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - gomp - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - gomp - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - iomp5 - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl_intel_lp64 - mkl_core - pthread - m - dl] -- Library mkl_intel_lp64: not found -- Checking for [mkl_intel - mkl_core - pthread - m - dl] -- Library mkl_intel: not found -- Checking for [mkl_gf_lp64 - mkl_core - pthread - m - dl] -- Library mkl_gf_lp64: not found -- Checking for [mkl_gf - mkl_core - pthread - m - dl] -- Library mkl_gf: not found -- Checking for [mkl - guide - pthread - m] -- Library mkl: not found -- MKL library not found -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Checking for [Accelerate] -- Library Accelerate: BLAS_Accelerate_LIBRARY-NOTFOUND -- Checking for [vecLib] -- Library vecLib: BLAS_vecLib_LIBRARY-NOTFOUND -- Checking for [flexiblas] -- Library flexiblas: BLAS_flexiblas_LIBRARY-NOTFOUND -- Checking for [openblas] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [openblas - pthread - m - gomp] -- Library openblas: BLAS_openblas_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [goto2 - gfortran - pthread] -- Library goto2: BLAS_goto2_LIBRARY-NOTFOUND -- Checking for [acml - gfortran] -- Library acml: BLAS_acml_LIBRARY-NOTFOUND -- Checking for [blis] -- Library blis: BLAS_blis_LIBRARY-NOTFOUND -- Could NOT find Atlas (missing: Atlas_CLAPACK_INCLUDE_DIR Atlas_BLAS_LIBRARY) -- Checking for [ptf77blas - atlas - gfortran] -- Library ptf77blas: BLAS_ptf77blas_LIBRARY-NOTFOUND -- Checking for [] -- Looking for sgemm_ -- Looking for sgemm_ - not found -- Cannot find a library with BLAS API. Not using BLAS. -- Using pocketfft in directory: /builddir/build/BUILD/pytorch-v2.0.1/third_party/pocketfft/ Found cpuinfo: /usr/lib64/libcpuinfo.so -- The ASM compiler identification is GNU -- Found assembler: /usr/lib64/ccache/gcc CMake Deprecation Warning at third_party/QNNPACK/deps/clog/CMakeLists.txt:7 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at third_party/psimd/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Deprecation Warning at third_party/FP16/CMakeLists.txt:1 (CMAKE_MINIMUM_REQUIRED): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning at cmake/Dependencies.cmake:853 (message): Turning USE_FAKELOWP off as it depends on USE_FBGEMM. Call Stack (most recent call first): CMakeLists.txt:717 (include) -- Could NOT find Numa (missing: Numa_INCLUDE_DIR Numa_LIBRARIES) CMake Warning at cmake/Dependencies.cmake:902 (message): Not compiling with NUMA. Suppress this warning with -DUSE_NUMA=OFF Call Stack (most recent call first): CMakeLists.txt:717 (include) CMake Deprecation Warning at third_party/ittapi/CMakeLists.txt:7 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- Using third party subdirectory Eigen. CMake Warning (dev) at /usr/share/cmake/pybind11/FindPythonLibsNew.cmake:98 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. Call Stack (most recent call first): /usr/share/cmake/pybind11/pybind11Tools.cmake:50 (find_package) /usr/share/cmake/pybind11/pybind11Common.cmake:188 (include) /usr/share/cmake/pybind11/pybind11Config.cmake:250 (include) cmake/Dependencies.cmake:1131 (find_package) CMakeLists.txt:717 (include) This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 (found suitable version "3.12", minimum required is "3.6") -- Found PythonLibs: python3.12 -- Performing Test HAS_FLTO -- Performing Test HAS_FLTO - Success -- Found pybind11: /usr/include (found version "2.11.1") -- pybind11 include dirs: /usr/include;/usr/include/python3.12 -- Checking for module 'mpi-c' -- Package 'mpi-c', required by 'virtual:world', not found -- Could NOT find MPI_C (missing: MPI_C_LIB_NAMES MPI_C_HEADER_DIR MPI_C_WORKS) -- Checking for module 'mpi-cxx' -- Package 'mpi-cxx', required by 'virtual:world', not found -- Could NOT find MPI_CXX (missing: MPI_CXX_LIB_NAMES MPI_CXX_HEADER_DIR MPI_CXX_WORKS) -- Could NOT find MPI (missing: MPI_C_FOUND MPI_CXX_FOUND) CMake Warning at cmake/Dependencies.cmake:1179 (message): Not compiling with MPI. Suppress this warning with -DUSE_MPI=OFF Call Stack (most recent call first): CMakeLists.txt:717 (include) -- Found OpenMP_C: -fopenmp (found version "4.5") -- Found OpenMP_CXX: -fopenmp (found version "4.5") -- Found OpenMP: TRUE (found version "4.5") -- Adding OpenMP CXX_FLAGS: -fopenmp -- Will link against OpenMP libraries: /usr/lib/gcc/x86_64-redhat-linux/13/libgomp.so;/usr/lib64/libpthread.a CMake Deprecation Warning at third_party/gloo/CMakeLists.txt:1 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:21 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'BUILD_BENCHMARK'. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:35 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'USE_NCCL'. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at third_party/gloo/CMakeLists.txt:36 (option): Policy CMP0077 is not set: option() honors normal variables. Run "cmake --help-policy CMP0077" for policy details. Use the cmake_policy command to set the policy and suppress this warning. For compatibility with older versions of CMake, option is clearing the normal variable 'USE_RCCL'. This warning is for project developers. Use -Wno-dev to suppress it. -- Gloo build as SHARED library CMake Warning at cmake/Dependencies.cmake:1500 (message): Metal is only used in ios builds. Call Stack (most recent call first): CMakeLists.txt:717 (include) CMake Deprecation Warning at third_party/onnx/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. CMake Warning (dev) at third_party/onnx/CMakeLists.txt:119 (find_package): Policy CMP0148 is not set: The FindPythonInterp and FindPythonLibs modules are removed. Run "cmake --help-policy CMP0148" for policy details. Use the cmake_policy command to set the policy and suppress this warning. This warning is for project developers. Use -Wno-dev to suppress it. -- Found PythonInterp: /usr/bin/python3 (found version "3.12") Generated: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.proto Generated: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators_onnx_torch.proto Generated: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data_onnx_torch.proto -- -- ******** Summary ******** -- CMake version : 3.27.4 -- CMake command : /usr/bin/cmake -- System : Linux -- C++ compiler : /usr/lib64/ccache/g++ -- C++ compiler version : 13.2.1 -- CXX flags : -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : ONNXIFI_ENABLE_EXT=1;__STDC_FORMAT_MACROS -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : /usr -- CMAKE_MODULE_PATH : /builddir/build/BUILD/pytorch-v2.0.1/cmake/Modules -- -- ONNX version : 1.13.1rc2 -- ONNX NAMESPACE : onnx_torch -- ONNX_USE_LITE_PROTO : OFF -- USE_PROTOBUF_SHARED_LIBS : OFF -- Protobuf_USE_STATIC_LIBS : ON -- ONNX_DISABLE_EXCEPTIONS : OFF -- ONNX_WERROR : OFF -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- -- Protobuf compiler : /usr/bin/protoc -- Protobuf includes : /usr/include -- Protobuf libraries : /usr/lib64/libprotobuf.so -- BUILD_ONNX_PYTHON : OFF CMake Deprecation Warning at third_party/foxi/CMakeLists.txt:2 (cmake_minimum_required): Compatibility with CMake < 3.5 will be removed from a future version of CMake. Update the VERSION argument value or use a ... suffix to tell CMake that the project does not need compatibility with older versions. -- -- ******** Summary ******** -- CMake version : 3.27.4 -- CMake command : /usr/bin/cmake -- System : Linux -- C++ compiler : /usr/lib64/ccache/g++ -- C++ compiler version : 13.2.1 -- CXX flags : -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -- Build type : Release -- Compile definitions : ONNXIFI_ENABLE_EXT=1 -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : /usr -- CMAKE_MODULE_PATH : /builddir/build/BUILD/pytorch-v2.0.1/cmake/Modules -- -- ONNX version : 1.4.1 -- ONNX NAMESPACE : onnx_torch -- ONNX_BUILD_TESTS : OFF -- ONNX_BUILD_BENCHMARKS : OFF -- ONNX_USE_LITE_PROTO : OFF -- ONNXIFI_DUMMY_BACKEND : -- -- Protobuf compiler : /usr/bin/protoc -- Protobuf includes : /usr/include -- Protobuf libraries : /usr/lib64/libprotobuf.so -- BUILD_ONNX_PYTHON : OFF -- Found CUDA with FP16 support, compiling with torch.cuda.HalfTensor -- Adding -DNDEBUG to compile flags -- Checking prototype magma_get_sgeqrf_nb for MAGMA_V2 -- Checking prototype magma_get_sgeqrf_nb for MAGMA_V2 - False CMake Warning at cmake/Dependencies.cmake:1689 (message): Not compiling with MAGMA. Suppress this warning with -DUSE_MAGMA=OFF. Call Stack (most recent call first): CMakeLists.txt:717 (include) -- Could not find hardware support for NEON on this machine. -- No OMAP3 processor on this machine. -- No OMAP4 processor on this machine. disabling CUDA because NOT USE_CUDA is set disabling ROCM because NOT USE_ROCM is set -- MIOpen not found. Compiling without MIOpen support disabling MKLDNN because USE_MKLDNN is not set -- Looking for clock_gettime in rt -- Looking for clock_gettime in rt - found -- Looking for mmap -- Looking for mmap - found -- Looking for shm_open -- Looking for shm_open - found -- Looking for shm_unlink -- Looking for shm_unlink - found -- Looking for malloc_usable_size -- Looking for malloc_usable_size - found -- Performing Test C_HAS_THREAD -- Performing Test C_HAS_THREAD - Success -- Module support is disabled. -- Version: 9.1.0 -- Build type: Release -- CXX_STANDARD: 17 -- Performing Test has_std_17_flag -- Performing Test has_std_17_flag - Success -- Performing Test has_std_1z_flag -- Performing Test has_std_1z_flag - Success -- Required features: cxx_variadic_templates -- GCC 13.2.1: Adding gcc and gcc_s libs to link line -- Performing Test HAS_WERROR_RETURN_TYPE -- Performing Test HAS_WERROR_RETURN_TYPE - Success -- Performing Test HAS_WERROR_NON_VIRTUAL_DTOR -- Performing Test HAS_WERROR_NON_VIRTUAL_DTOR - Success -- Performing Test HAS_WERROR_BRACED_SCALAR_INIT -- Performing Test HAS_WERROR_BRACED_SCALAR_INIT - Failed -- Performing Test HAS_WERROR_RANGE_LOOP_CONSTRUCT -- Performing Test HAS_WERROR_RANGE_LOOP_CONSTRUCT - Success -- Performing Test HAS_WERROR_BOOL_OPERATION -- Performing Test HAS_WERROR_BOOL_OPERATION - Success -- Performing Test HAS_WINCONSISTENT_MISSING_OVERRIDE -- Performing Test HAS_WINCONSISTENT_MISSING_OVERRIDE - Failed -- Performing Test HAS_WNARROWING -- Performing Test HAS_WNARROWING - Success -- Performing Test HAS_WNO_MISSING_FIELD_INITIALIZERS -- Performing Test HAS_WNO_MISSING_FIELD_INITIALIZERS - Success -- Performing Test HAS_WNO_TYPE_LIMITS -- Performing Test HAS_WNO_TYPE_LIMITS - Success -- Performing Test HAS_WNO_ARRAY_BOUNDS -- Performing Test HAS_WNO_ARRAY_BOUNDS - Success -- Performing Test HAS_WNO_UNKNOWN_PRAGMAS -- Performing Test HAS_WNO_UNKNOWN_PRAGMAS - Success -- Performing Test HAS_WUNUSED_LOCAL_TYPEDEFS -- Performing Test HAS_WUNUSED_LOCAL_TYPEDEFS - Success -- Performing Test HAS_WNO_UNUSED_PARAMETER -- Performing Test HAS_WNO_UNUSED_PARAMETER - Success -- Performing Test HAS_WNO_UNUSED_FUNCTION -- Performing Test HAS_WNO_UNUSED_FUNCTION - Success -- Performing Test HAS_WNO_UNUSED_RESULT -- Performing Test HAS_WNO_UNUSED_RESULT - Success -- Performing Test HAS_WNO_STRICT_OVERFLOW -- Performing Test HAS_WNO_STRICT_OVERFLOW - Success -- Performing Test HAS_WNO_STRICT_ALIASING -- Performing Test HAS_WNO_STRICT_ALIASING - Success -- Performing Test HAS_WNO_ERROR_DEPRECATED_DECLARATIONS -- Performing Test HAS_WNO_ERROR_DEPRECATED_DECLARATIONS - Success -- Performing Test HAS_WVLA_EXTENSION -- Performing Test HAS_WVLA_EXTENSION - Failed -- Performing Test HAS_WNO_ERROR_PEDANTIC -- Performing Test HAS_WNO_ERROR_PEDANTIC - Success -- Performing Test HAS_WNO_ERROR_REDUNDANT_DECLS -- Performing Test HAS_WNO_ERROR_REDUNDANT_DECLS - Success -- Performing Test HAS_WNO_ERROR_OLD_STYLE_CAST -- Performing Test HAS_WNO_ERROR_OLD_STYLE_CAST - Success -- Performing Test HAS_FCOLOR_DIAGNOSTICS -- Performing Test HAS_FCOLOR_DIAGNOSTICS - Failed -- Performing Test HAS_FDIAGNOSTICS_COLOR_ALWAYS -- Performing Test HAS_FDIAGNOSTICS_COLOR_ALWAYS - Success -- Performing Test HAS_WNO_UNUSED_BUT_SET_VARIABLE -- Performing Test HAS_WNO_UNUSED_BUT_SET_VARIABLE - Success -- Performing Test HAS_WNO_MAYBE_UNINITIALIZED -- Performing Test HAS_WNO_MAYBE_UNINITIALIZED - Success -- Performing Test HAS_FNO_MATH_ERRNO -- Performing Test HAS_FNO_MATH_ERRNO - Success -- Performing Test HAS_FNO_TRAPPING_MATH -- Performing Test HAS_FNO_TRAPPING_MATH - Success -- Performing Test HAS_WERROR_FORMAT -- Performing Test HAS_WERROR_FORMAT - Success -- Performing Test HAS_WERROR_CAST_FUNCTION_TYPE -- Performing Test HAS_WERROR_CAST_FUNCTION_TYPE - Success -- Performing Test HAS_WNO_STRINGOP_OVERFLOW -- Performing Test HAS_WNO_STRINGOP_OVERFLOW - Success -- Looking for backtrace -- Looking for backtrace - found -- backtrace facility detected in default set of libraries -- Found Backtrace: /usr/include -- don't use NUMA -- headers outputs: -- sources outputs: -- declarations_yaml outputs: -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT -- Performing Test COMPILER_SUPPORTS_NO_AVX256_SPLIT - Success -- Using ATen parallel backend: OMP disabling CUDA because USE_CUDA is set false Found sleef: /usr/lib64/libsleef.so AT_INSTALL_INCLUDE_DIR include/ATen/core core header install: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/core/TensorBody.h core header install: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/core/aten_interned_strings.h core header install: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/core/enum_tag.h -- _GLIBCXX_USE_CXX11_ABI=1 is already defined as a cmake variable CMake Warning (dev) at torch/CMakeLists.txt:387: Syntax Warning in cmake code at column 107 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning (dev) at torch/CMakeLists.txt:387: Syntax Warning in cmake code at column 115 Argument not separated from preceding token by whitespace. This warning is for project developers. Use -Wno-dev to suppress it. CMake Warning at CMakeLists.txt:1078 (message): Generated cmake files are only fully tested if one builds with system glog, gflags, and protobuf. Other settings may generate files that are not well tested. -- -- ******** Summary ******** -- General: -- CMake version : 3.27.4 -- CMake command : /usr/bin/cmake -- System : Linux -- C++ compiler : /usr/lib64/ccache/g++ -- C++ compiler id : GNU -- C++ compiler version : 13.2.1 -- Using ccache if found : ON -- Found ccache : /usr/bin/ccache -- CXX flags : -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -- Build type : Release -- Compile definitions : ONNXIFI_ENABLE_EXT=1;ONNX_NAMESPACE=onnx_torch;HAVE_MMAP=1;_FILE_OFFSET_BITS=64;HAVE_SHM_OPEN=1;HAVE_SHM_UNLINK=1;HAVE_MALLOC_USABLE_SIZE=1;USE_EXTERNAL_MZCRC;MINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -- CMAKE_PREFIX_PATH : -- CMAKE_INSTALL_PREFIX : /usr -- USE_GOLD_LINKER : OFF -- -- TORCH_VERSION : 2.0.0 -- CAFFE2_VERSION : 2.0.0 -- BUILD_CAFFE2 : OFF -- BUILD_CAFFE2_OPS : OFF -- BUILD_STATIC_RUNTIME_BENCHMARK: OFF -- BUILD_TENSOREXPR_BENCHMARK: OFF -- BUILD_NVFUSER_BENCHMARK: OFF -- BUILD_BINARY : OFF -- BUILD_CUSTOM_PROTOBUF : OFF -- Protobuf compiler : /usr/bin/protoc -- Protobuf includes : /usr/include -- Protobuf libraries : /usr/lib64/libprotobuf.so -- BUILD_DOCS : OFF -- BUILD_PYTHON : OFF -- BUILD_SHARED_LIBS : ON -- CAFFE2_USE_MSVC_STATIC_RUNTIME : OFF -- BUILD_TEST : OFF -- BUILD_JNI : OFF -- BUILD_MOBILE_AUTOGRAD : OFF -- BUILD_LITE_INTERPRETER: OFF -- INTERN_BUILD_MOBILE : -- TRACING_BASED : OFF -- USE_BLAS : 0 -- USE_LAPACK : 1 -- LAPACK : -- USE_ASAN : OFF -- USE_TSAN : OFF -- USE_CPP_CODE_COVERAGE : OFF -- USE_CUDA : OFF -- USE_ROCM : OFF -- BUILD_NVFUSER : OFF -- USE_EIGEN_FOR_BLAS : ON -- USE_FBGEMM : OFF -- USE_FAKELOWP : OFF -- USE_KINETO : OFF -- USE_FFMPEG : OFF -- USE_GFLAGS : OFF -- USE_GLOG : OFF -- USE_LEVELDB : OFF -- USE_LITE_PROTO : OFF -- USE_LMDB : OFF -- USE_METAL : OFF -- USE_PYTORCH_METAL : OFF -- USE_PYTORCH_METAL_EXPORT : OFF -- USE_MPS : OFF -- USE_FFTW : OFF -- USE_MKL : OFF -- USE_MKLDNN : OFF -- USE_UCC : OFF -- USE_ITT : ON -- USE_NCCL : OFF -- USE_NNPACK : OFF -- USE_NUMPY : ON -- USE_OBSERVERS : OFF -- USE_OPENCL : OFF -- USE_OPENCV : OFF -- USE_OPENMP : ON -- USE_TBB : OFF -- USE_VULKAN : OFF -- USE_PROF : OFF -- USE_QNNPACK : ON -- USE_PYTORCH_QNNPACK : ON -- USE_XNNPACK : OFF -- USE_REDIS : OFF -- USE_ROCKSDB : OFF -- USE_ZMQ : OFF -- USE_DISTRIBUTED : ON -- USE_MPI : OFF -- USE_GLOO : ON -- USE_GLOO_WITH_OPENSSL : OFF -- USE_TENSORPIPE : OFF -- Public Dependencies : -- Private Dependencies : Threads::Threads;pthreadpool;cpuinfo;qnnpack;pytorch_qnnpack;ittnotify;fp16;caffe2::openmp;gloo;foxi_loader;rt;fmt::fmt-header-only;gcc_s;gcc;dl -- USE_COREML_DELEGATE : OFF -- BUILD_LAZY_TS_BACKEND : ON -- TORCH_DISABLE_GPU_ASSERTS : OFF -- Configuring done (25.0s) -- Generating done (0.5s) CMake Warning: Manually-specified variables were not used by the project: CMAKE_Fortran_FLAGS_RELEASE CMAKE_INSTALL_DO_STRIP INCLUDE_INSTALL_DIR LIB_INSTALL_DIR LIB_SUFFIX SHARE_INSTALL_PREFIX SYSCONF_INSTALL_DIR -- Build files have been written to: /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build + /usr/bin/cmake --build redhat-linux-build -j2 --verbose Change Dir: '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' Run Build Command(s): /usr/bin/cmake -E env VERBOSE=1 /usr/bin/gmake -f Makefile -j2 /usr/bin/cmake -S/builddir/build/BUILD/pytorch-v2.0.1 -B/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build --check-build-system CMakeFiles/Makefile.cmake 0 /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/CMakeFiles /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build//CMakeFiles/progress.marks /usr/bin/gmake -f CMakeFiles/Makefile2 all gmake[1]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/build.make confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/depend /usr/bin/gmake -f confu-deps/clog/CMakeFiles/clog.dir/build.make confu-deps/clog/CMakeFiles/clog.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/DependInfo.cmake "--color=" gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/clog /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/clog/CMakeFiles/clog.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f confu-deps/clog/CMakeFiles/clog.dir/build.make confu-deps/clog/CMakeFiles/clog.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/build.make confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 0%] Building C object confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/clog && /usr/bin/ccache /usr/lib64/ccache/gcc -DCLOG_LOG_TO_STDIO=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c99 -fPIC -MD -MT confu-deps/clog/CMakeFiles/clog.dir/src/clog.c.o -MF CMakeFiles/clog.dir/src/clog.c.o.d -o CMakeFiles/clog.dir/src/clog.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/legacy-api.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPTHREADPOOL_USE_FASTPATH=1 -D_GNU_SOURCE=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c11 -fPIC -pthread -MD -MT confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/legacy-api.c.o -MF CMakeFiles/pthreadpool.dir/src/legacy-api.c.o.d -o CMakeFiles/pthreadpool.dir/src/legacy-api.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src/legacy-api.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_fatal’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c:120:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 120 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_error’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c:196:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 196 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_warning’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c:272:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 272 | write(STDERR_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_info’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c:348:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 348 | write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c: In function ‘clog_vlog_debug’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/src/clog.c:424:25: warning: ignoring return value of ‘write’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 424 | write(STDOUT_FILENO, out_buffer, prefix_chars + format_chars + CLOG_SUFFIX_LENGTH); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 0%] Linking C static library ../../lib/libclog.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/clog && /usr/bin/cmake -P CMakeFiles/clog.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/clog && /usr/bin/cmake -E cmake_link_script CMakeFiles/clog.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libclog.a CMakeFiles/clog.dir/src/clog.c.o /usr/bin/ranlib ../../lib/libclog.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 0%] Built target clog /usr/bin/gmake -f third_party/ittapi/CMakeFiles/ittnotify.dir/build.make third_party/ittapi/CMakeFiles/ittnotify.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/ittapi /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/ittapi/CMakeFiles/ittnotify.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/ittapi/CMakeFiles/ittnotify.dir/build.make third_party/ittapi/CMakeFiles/ittnotify.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/portable-api.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPTHREADPOOL_USE_FASTPATH=1 -D_GNU_SOURCE=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c11 -fPIC -pthread -MD -MT confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/portable-api.c.o -MF CMakeFiles/pthreadpool.dir/src/portable-api.c.o.d -o CMakeFiles/pthreadpool.dir/src/portable-api.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src/portable-api.c [ 0%] Building C object third_party/ittapi/CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/ittapi && /usr/bin/ccache /usr/lib64/ccache/gcc -DNDEBUG -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fPIC -DNDEBUG -std=gnu11 -MD -MT third_party/ittapi/CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o -MF CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o.d -o CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify/ittnotify_static.c [ 0%] Building C object third_party/ittapi/CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/ittapi && /usr/bin/ccache /usr/lib64/ccache/gcc -DNDEBUG -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -O2 -fPIC -DNDEBUG -std=gnu11 -MD -MT third_party/ittapi/CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o -MF CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o.d -o CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify/jitprofiling.c [ 0%] Linking C static library ../../lib/libittnotify.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/ittapi && /usr/bin/cmake -P CMakeFiles/ittnotify.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/ittapi && /usr/bin/cmake -E cmake_link_script CMakeFiles/ittnotify.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libittnotify.a CMakeFiles/ittnotify.dir/src/ittnotify/ittnotify_static.c.o CMakeFiles/ittnotify.dir/src/ittnotify/jitprofiling.c.o /usr/bin/ranlib ../../lib/libittnotify.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 0%] Built target ittnotify /usr/bin/gmake -f third_party/gloo/gloo/CMakeFiles/gloo.dir/build.make third_party/gloo/gloo/CMakeFiles/gloo.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo/CMakeFiles/gloo.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/gloo/gloo/CMakeFiles/gloo.dir/build.make third_party/gloo/gloo/CMakeFiles/gloo.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 0%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/algorithm.cc.o -MF CMakeFiles/gloo.dir/algorithm.cc.o.d -o CMakeFiles/gloo.dir/algorithm.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/algorithm.cc [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/memory.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPTHREADPOOL_USE_FASTPATH=1 -D_GNU_SOURCE=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c11 -fPIC -pthread -MD -MT confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/memory.c.o -MF CMakeFiles/pthreadpool.dir/src/memory.c.o.d -o CMakeFiles/pthreadpool.dir/src/memory.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src/memory.c [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/pthreads.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPTHREADPOOL_USE_FASTPATH=1 -D_GNU_SOURCE=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c11 -fPIC -pthread -MD -MT confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/pthreads.c.o -MF CMakeFiles/pthreadpool.dir/src/pthreads.c.o.d -o CMakeFiles/pthreadpool.dir/src/pthreads.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src/pthreads.c [ 0%] Building C object confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/fastpath.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPTHREADPOOL_USE_FASTPATH=1 -D_GNU_SOURCE=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c11 -fPIC -pthread -MD -MT confu-deps/pthreadpool/CMakeFiles/pthreadpool.dir/src/fastpath.c.o -MF CMakeFiles/pthreadpool.dir/src/fastpath.c.o.d -o CMakeFiles/pthreadpool.dir/src/fastpath.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/src/fastpath.c [ 0%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/allgather.cc.o -MF CMakeFiles/gloo.dir/allgather.cc.o.d -o CMakeFiles/gloo.dir/allgather.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgather.cc [ 0%] Linking C static library ../../lib/libpthreadpool.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/cmake -P CMakeFiles/pthreadpool.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pthreadpool && /usr/bin/cmake -E cmake_link_script CMakeFiles/pthreadpool.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libpthreadpool.a "CMakeFiles/pthreadpool.dir/src/legacy-api.c.o" "CMakeFiles/pthreadpool.dir/src/portable-api.c.o" CMakeFiles/pthreadpool.dir/src/memory.c.o CMakeFiles/pthreadpool.dir/src/pthreads.c.o CMakeFiles/pthreadpool.dir/src/fastpath.c.o /usr/bin/ranlib ../../lib/libpthreadpool.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 0%] Built target pthreadpool /usr/bin/gmake -f third_party/fmt/CMakeFiles/fmt.dir/build.make third_party/fmt/CMakeFiles/fmt.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/fmt /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/fmt/CMakeFiles/fmt.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/fmt/CMakeFiles/fmt.dir/build.make third_party/fmt/CMakeFiles/fmt.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 1%] Building CXX object third_party/fmt/CMakeFiles/fmt.dir/src/format.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/fmt && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -MD -MT third_party/fmt/CMakeFiles/fmt.dir/src/format.cc.o -MF CMakeFiles/fmt.dir/src/format.cc.o.d -o CMakeFiles/fmt.dir/src/format.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/src/format.cc In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgather.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgather.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgather.cc:41:5: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/allgatherv.cc.o -MF CMakeFiles/gloo.dir/allgatherv.cc.o.d -o CMakeFiles/gloo.dir/allgatherv.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgatherv.cc In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgatherv.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgatherv.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allgatherv.cc:53:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce.cc.o -MF CMakeFiles/gloo.dir/allreduce.cc.o.d -o CMakeFiles/gloo.dir/allreduce.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc: In function ‘void gloo::{anonymous}::allreduce(const gloo::detail::AllreduceOptionsImpl&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:105:14: warning: variable ‘slot’ set but not used [-Wunused-but-set-variable] 105 | const auto slot = Slot::build(kAllreduceSlotPrefix, opts.tag); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc: In function ‘void gloo::{anonymous}::ring(const gloo::detail::AllreduceOptionsImpl&, ReduceRangeFunction, BroadcastRangeFunction)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:279:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 279 | for (auto i = 0; i < (numSegments - numSegmentsPerRank + 2); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:307:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 307 | if (i < (numSegments - numSegmentsPerRank)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:315:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 315 | if (i < numSegmentsPerRank) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:362:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 362 | for (auto i = 0; i < (numSegments - numSegmentsPerRank + 2); i++) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:379:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 379 | if (i < (numSegments - numSegmentsPerRank)) { | ~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:387:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 387 | if (i < numSegmentsPerRank) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc: In function ‘void gloo::{anonymous}::bcube(const gloo::detail::AllreduceOptionsImpl&, ReduceRangeFunction, BroadcastRangeFunction)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:527:15: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 527 | if (src == context->rank) { | ~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:540:15: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 540 | if (dst == context->rank) { | ~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:566:16: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 566 | if (peer == context->rank) { | ~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:583:15: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 583 | if (src == context->rank) { | ~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:613:15: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 613 | if (src == context->rank) { | ~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:633:15: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 633 | if (dst == context->rank) { | ~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:646:16: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 646 | if (peer == context->rank) { | ~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:656:16: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 656 | if (peer == context->rank) { | ~~~~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Greater(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:108:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:126:29: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 126 | BINARY_COMP_HELPER(Greater, >) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:215:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::GreaterEquals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:216:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:127:35: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 127 | BINARY_COMP_HELPER(GreaterEquals, >=) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ In member function ‘gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)::group::operator=(group&&)’, inlined from ‘std::swap, std::function)::group>(gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)::group&, gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)::group&)std::enable_if, std::function)::group> >, std::is_move_constructible, std::function)::group>, std::is_move_assignable, std::function)::group> >::value, void>::type’ at /usr/include/c++/13/bits/move.h:198:11, inlined from ‘gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)’ at /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:502:16, inlined from ‘gloo::(anonymous namespace)::allreduce(gloo::detail::AllreduceOptionsImpl const&)’ at /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:141:12: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:443:10: warning: ‘nextGroup’ may be used uninitialized [-Wmaybe-uninitialized] 443 | struct group { | ^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc: In function ‘gloo::(anonymous namespace)::allreduce(gloo::detail::AllreduceOptionsImpl const&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:498:20: note: ‘nextGroup’ declared here 498 | struct group nextGroup; | ^~~~~~~~~ In member function ‘gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)::group::operator=(group&&)’, inlined from ‘std::swap, std::function)::group>(gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)::group&, gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)::group&)std::enable_if, std::function)::group> >, std::is_move_constructible, std::function)::group>, std::is_move_assignable, std::function)::group> >::value, void>::type’ at /usr/include/c++/13/bits/move.h:198:11, inlined from ‘gloo::(anonymous namespace)::bcube(gloo::detail::AllreduceOptionsImpl const&, std::function, std::function)’ at /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:502:16, inlined from ‘gloo::(anonymous namespace)::allreduce(gloo::detail::AllreduceOptionsImpl const&)’ at /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:141:12: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:443:10: warning: ‘nextGroup.myChunkLength’ may be used uninitialized [-Wmaybe-uninitialized] 443 | struct group { | ^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc: In function ‘gloo::(anonymous namespace)::allreduce(gloo::detail::AllreduceOptionsImpl const&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce.cc:498:20: note: ‘nextGroup’ declared here 498 | struct group nextGroup; | ^~~~~~~~~ [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/allreduce_local.cc.o -MF CMakeFiles/gloo.dir/allreduce_local.cc.o.d -o CMakeFiles/gloo.dir/allreduce_local.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc [ 1%] Building CXX object third_party/fmt/CMakeFiles/fmt.dir/src/os.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/fmt && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -MD -MT third_party/fmt/CMakeFiles/fmt.dir/src/os.cc.o -MF CMakeFiles/fmt.dir/src/os.cc.o.d -o CMakeFiles/fmt.dir/src/os.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/src/os.cc /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = signed char]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:43:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = unsigned char]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:44:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:45:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = long int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:46:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = long unsigned int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:47:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = float]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:48:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = double]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:49:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = gloo::float16]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:50:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:36:11: warning: ‘void* memcpy(void*, const void*, size_t)’ writing to an object of type ‘struct gloo::float16’ with no trivial copy-assignment; use copy-assignment or copy-initialization instead [-Wclass-memaccess] 36 | memcpy(ptrs_[i], ptrs_[0], bytes_); | ~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/math.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/algorithm.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/types.h:96:19: note: ‘struct gloo::float16’ declared here 96 | struct alignas(2) float16 { | ^~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc: In instantiation of ‘void gloo::AllreduceLocal::run() [with T = char]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:52:1: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:31:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 31 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/allreduce_local.cc:35:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 35 | for (int i = 1; i < ptrs_.size(); i++) { | ~~^~~~~~~~~~~~~~ [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/alltoall.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/alltoall.cc.o -MF CMakeFiles/gloo.dir/alltoall.cc.o.d -o CMakeFiles/gloo.dir/alltoall.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/alltoall.cc [ 1%] Linking CXX static library ../../lib/libfmt.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/fmt && /usr/bin/cmake -P CMakeFiles/fmt.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/fmt && /usr/bin/cmake -E cmake_link_script CMakeFiles/fmt.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libfmt.a CMakeFiles/fmt.dir/src/format.cc.o CMakeFiles/fmt.dir/src/os.cc.o /usr/bin/ranlib ../../lib/libfmt.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 1%] Built target fmt /usr/bin/gmake -f c10/CMakeFiles/c10.dir/build.make c10/CMakeFiles/c10.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/c10 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10/CMakeFiles/c10.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f c10/CMakeFiles/c10.dir/build.make c10/CMakeFiles/c10.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 1%] Building CXX object c10/CMakeFiles/c10.dir/core/Allocator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/Allocator.cpp.o -MF CMakeFiles/c10.dir/core/Allocator.cpp.o.d -o CMakeFiles/c10.dir/core/Allocator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/Allocator.cpp [ 1%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/alltoallv.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/alltoallv.cc.o -MF CMakeFiles/gloo.dir/alltoallv.cc.o.d -o CMakeFiles/gloo.dir/alltoallv.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/alltoallv.cc [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/AutogradState.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/AutogradState.cpp.o -MF CMakeFiles/c10.dir/core/AutogradState.cpp.o.d -o CMakeFiles/c10.dir/core/AutogradState.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/AutogradState.cpp [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o -MF CMakeFiles/c10.dir/core/CPUAllocator.cpp.o.d -o CMakeFiles/c10.dir/core/CPUAllocator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/CPUAllocator.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/alltoallv.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/alltoallv.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/alltoallv.cc:52:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/barrier.cc.o -MF CMakeFiles/gloo.dir/barrier.cc.o.d -o CMakeFiles/gloo.dir/barrier.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/barrier.cc /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/barrier.cc: In function ‘void gloo::barrier(BarrierOptions&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/barrier.cc:30:24: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 30 | for (size_t d = 1; d < context->size; d <<= 1) { | ~~^~~~~~~~~~~~~~~ [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/broadcast.cc.o -MF CMakeFiles/gloo.dir/broadcast.cc.o.d -o CMakeFiles/gloo.dir/broadcast.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/broadcast.cc [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/CopyBytes.cpp.o -MF CMakeFiles/c10.dir/core/CopyBytes.cpp.o.d -o CMakeFiles/c10.dir/core/CopyBytes.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/CopyBytes.cpp /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/broadcast.cc: In function ‘void gloo::broadcast(BroadcastOptions&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/broadcast.cc:92:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘size_t’ {aka ‘long unsigned int’} [-Wsign-compare] 92 | for (auto i = 0; i < numSends; i++) { | ~~^~~~~~~~~~ [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/context.cc.o -MF CMakeFiles/gloo.dir/context.cc.o.d -o CMakeFiles/gloo.dir/context.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.cc [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o -MF CMakeFiles/c10.dir/core/DefaultDtype.cpp.o.d -o CMakeFiles/c10.dir/core/DefaultDtype.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/DefaultDtype.cpp [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/gather.cc.o -MF CMakeFiles/gloo.dir/gather.cc.o.d -o CMakeFiles/gloo.dir/gather.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gather.cc /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gather.cc: In function ‘void gloo::gather(GatherOptions&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gather.cc:36:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 36 | for (size_t i = 0; i < context->size; i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gather.cc:37:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 37 | if (i == context->rank) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gather.cc:50:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 50 | for (size_t i = 0; i < context->size; i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gather.cc:51:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 51 | if (i == context->rank) { | ~~^~~~~~~~~~~~~~~~ [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/gatherv.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/gatherv.cc.o -MF CMakeFiles/gloo.dir/gatherv.cc.o.d -o CMakeFiles/gloo.dir/gatherv.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gatherv.cc [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/Device.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/Device.cpp.o -MF CMakeFiles/c10.dir/core/Device.cpp.o.d -o CMakeFiles/c10.dir/core/Device.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/Device.cpp [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/DeviceType.cpp.o -MF CMakeFiles/c10.dir/core/DeviceType.cpp.o.d -o CMakeFiles/c10.dir/core/DeviceType.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/DeviceType.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gatherv.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gatherv.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/gatherv.cc:54:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 2%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/reduce.cc.o -MF CMakeFiles/gloo.dir/reduce.cc.o.d -o CMakeFiles/gloo.dir/reduce.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc [ 2%] Building CXX object c10/CMakeFiles/c10.dir/core/DispatchKey.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/DispatchKey.cpp.o -MF CMakeFiles/c10.dir/core/DispatchKey.cpp.o.d -o CMakeFiles/c10.dir/core/DispatchKey.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/DispatchKey.cpp /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc: In function ‘void gloo::reduce(ReduceOptions&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:171:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 171 | for (auto i = 0; i < numSegments; i++) { | ~~^~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:187:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 187 | if ((i - 2) < numSegmentsPerRank) { | ~~~~~~~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:199:11: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long unsigned int’ [-Wsign-compare] 199 | if (i < (numSegments - 2)) { | ~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:206:15: warning: comparison of integer expressions of different signedness: ‘int’ and ‘const size_t’ {aka ‘const long unsigned int’} [-Wsign-compare] 206 | if (i < numSegmentsPerRank) { | ~~^~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:223:32: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 223 | for (size_t rank = 0; rank < context->size; rank++) { | ~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:224:16: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 224 | if (rank == context->rank) { | ~~~~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:118:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::GreaterEquals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/reduce.cc:119:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:127:35: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 127 | BINARY_COMP_HELPER(GreaterEquals, >=) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/scatter.cc.o -MF CMakeFiles/gloo.dir/scatter.cc.o.d -o CMakeFiles/gloo.dir/scatter.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc: In function ‘void gloo::scatter(ScatterOptions&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc:40:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 40 | for (size_t i = 0; i < context->size; i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc:41:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 41 | if (i == context->rank) { | ~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc:51:26: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 51 | for (size_t i = 0; i < context->size; i++) { | ~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc:52:13: warning: comparison of integer expressions of different signedness: ‘size_t’ {aka ‘long unsigned int’} and ‘const int’ [-Wsign-compare] 52 | if (i == context->rank) { | ~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/context.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Equals(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/scatter.cc:31:5: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:124:28: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 124 | BINARY_COMP_HELPER(Equals, ==) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o -MF CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o.d -o CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/DispatchKeySet.cpp [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/types.cc.o -MF CMakeFiles/gloo.dir/types.cc.o.d -o CMakeFiles/gloo.dir/types.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/types.cc [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/common/logging.cc.o -MF CMakeFiles/gloo.dir/common/logging.cc.o.d -o CMakeFiles/gloo.dir/common/logging.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.cc [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o -MF CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o.d -o CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/GeneratorImpl.cpp [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/common/linux.cc.o -MF CMakeFiles/gloo.dir/common/linux.cc.o.d -o CMakeFiles/gloo.dir/common/linux.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/GradMode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/GradMode.cpp.o -MF CMakeFiles/c10.dir/core/GradMode.cpp.o.d -o CMakeFiles/c10.dir/core/GradMode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/GradMode.cpp [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/InferenceMode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/InferenceMode.cpp.o -MF CMakeFiles/c10.dir/core/InferenceMode.cpp.o.d -o CMakeFiles/c10.dir/core/InferenceMode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/InferenceMode.cpp /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc: In function ‘std::vector > gloo::pciDevices(PCIClassMatch)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc:97:21: warning: comparison of integer expressions of different signedness: ‘int’ and ‘unsigned int’ [-Wsign-compare] 97 | if (match.value != (pciGetClass(device) & match.mask)) { | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc: In function ‘int gloo::pciDistance(const std::string&, const std::string&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc:135:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 135 | if (prefixLength == partsA.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc:139:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::vector >::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 139 | if (prefixLength == partsB.size()) { | ~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc:31: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Less(const T1&, const T2&) [with T1 = long int; T2 = long unsigned int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/linux.cc:112:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:128:26: warning: comparison of integer expressions of different signedness: ‘const long int’ and ‘const long unsigned int’ [-Wsign-compare] 128 | BINARY_COMP_HELPER(Less, <) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/context.cc.o -MF CMakeFiles/gloo.dir/rendezvous/context.cc.o.d -o CMakeFiles/gloo.dir/rendezvous/context.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/context.cc [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/SafePyObject.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/SafePyObject.cpp.o -MF CMakeFiles/c10.dir/core/SafePyObject.cpp.o.d -o CMakeFiles/c10.dir/core/SafePyObject.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/SafePyObject.cpp [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/Scalar.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/Scalar.cpp.o -MF CMakeFiles/c10.dir/core/Scalar.cpp.o.d -o CMakeFiles/c10.dir/core/Scalar.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/Scalar.cpp [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/file_store.cc.o -MF CMakeFiles/gloo.dir/rendezvous/file_store.cc.o.d -o CMakeFiles/gloo.dir/rendezvous/file_store.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/file_store.cc [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/Storage.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/Storage.cpp.o -MF CMakeFiles/c10.dir/core/Storage.cpp.o.d -o CMakeFiles/c10.dir/core/Storage.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/Storage.cpp [ 3%] Building CXX object c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/StorageImpl.cpp.o -MF CMakeFiles/c10.dir/core/StorageImpl.cpp.o.d -o CMakeFiles/c10.dir/core/StorageImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/StorageImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/store.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/file_store.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/file_store.cc:9: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h: In instantiation of ‘gloo::enforce_detail::EnforceFailMessage gloo::enforce_detail::Greater(const T1&, const T2&) [with T1 = long unsigned int; T2 = int]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/file_store.cc:107:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:126:29: warning: comparison of integer expressions of different signedness: ‘const long unsigned int’ and ‘const int’ [-Wsign-compare] 126 | BINARY_COMP_HELPER(Greater, >) | ^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/common/logging.h:119:11: note: in definition of macro ‘BINARY_COMP_HELPER’ 119 | if (x op y) { \ | ^~ [ 3%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o -MF CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o.d -o CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/hash_store.cc [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/Stream.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/Stream.cpp.o -MF CMakeFiles/c10.dir/core/Stream.cpp.o.d -o CMakeFiles/c10.dir/core/Stream.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/Stream.cpp [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o -MF CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o.d -o CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/prefix_store.cc [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/SymBool.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/SymBool.cpp.o -MF CMakeFiles/c10.dir/core/SymBool.cpp.o.d -o CMakeFiles/c10.dir/core/SymBool.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/SymBool.cpp [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/rendezvous/store.cc.o -MF CMakeFiles/gloo.dir/rendezvous/store.cc.o.d -o CMakeFiles/gloo.dir/rendezvous/store.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/rendezvous/store.cc [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/SymFloat.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/SymFloat.cpp.o -MF CMakeFiles/c10.dir/core/SymFloat.cpp.o.d -o CMakeFiles/c10.dir/core/SymFloat.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/SymFloat.cpp [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/address.cc.o -MF CMakeFiles/gloo.dir/transport/address.cc.o.d -o CMakeFiles/gloo.dir/transport/address.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/address.cc [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/buffer.cc.o -MF CMakeFiles/gloo.dir/transport/buffer.cc.o.d -o CMakeFiles/gloo.dir/transport/buffer.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/buffer.cc [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/context.cc.o -MF CMakeFiles/gloo.dir/transport/context.cc.o.d -o CMakeFiles/gloo.dir/transport/context.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/context.cc [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/SymInt.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/SymInt.cpp.o -MF CMakeFiles/c10.dir/core/SymInt.cpp.o.d -o CMakeFiles/c10.dir/core/SymInt.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/SymInt.cpp [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/device.cc.o -MF CMakeFiles/gloo.dir/transport/device.cc.o.d -o CMakeFiles/gloo.dir/transport/device.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/device.cc [ 4%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/pair.cc.o -MF CMakeFiles/gloo.dir/transport/pair.cc.o.d -o CMakeFiles/gloo.dir/transport/pair.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/pair.cc [ 4%] Building CXX object c10/CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o -MF CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o.d -o CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/SymIntArrayRef.cpp [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o -MF CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o.d -o CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/unbound_buffer.cc [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/address.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/address.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/address.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/address.cc [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o -MF CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o.d -o CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/SymNodeImpl.cpp [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/TensorImpl.cpp.o -MF CMakeFiles/c10.dir/core/TensorImpl.cpp.o.d -o CMakeFiles/c10.dir/core/TensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/TensorImpl.cpp [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/buffer.cc [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/context.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/context.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/context.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/context.cc [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/device.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/device.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/device.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/device.cc [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/loop.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/loop.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/loop.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/loop.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/loop.cc [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/TensorOptions.cpp.o -MF CMakeFiles/c10.dir/core/TensorOptions.cpp.o.d -o CMakeFiles/c10.dir/core/TensorOptions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/TensorOptions.cpp [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/pair.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/pair.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/pair.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/pair.cc [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o -MF CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o.d -o CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/UndefinedTensorImpl.cpp [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o -MF CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o.d -o CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/WrapDimMinimal.cpp [ 5%] Building CXX object third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/ccache /usr/lib64/ccache/g++ -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -std=c++11 -fPIC -DNDEBUG -std=gnu++17 -MD -MT third_party/gloo/gloo/CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o -MF CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o.d -o CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/gloo/gloo/transport/tcp/unbound_buffer.cc [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o -MF CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o.d -o CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/DeviceGuardImplInterface.cpp [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o -MF CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o.d -o CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/GPUTrace.cpp [ 5%] Linking CXX static library ../../../lib/libgloo.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/cmake -P CMakeFiles/gloo.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo/gloo && /usr/bin/cmake -E cmake_link_script CMakeFiles/gloo.dir/link.txt --verbose=1 /usr/bin/ar qc ../../../lib/libgloo.a CMakeFiles/gloo.dir/algorithm.cc.o CMakeFiles/gloo.dir/allgather.cc.o CMakeFiles/gloo.dir/allgatherv.cc.o CMakeFiles/gloo.dir/allreduce.cc.o CMakeFiles/gloo.dir/allreduce_local.cc.o CMakeFiles/gloo.dir/alltoall.cc.o CMakeFiles/gloo.dir/alltoallv.cc.o CMakeFiles/gloo.dir/barrier.cc.o CMakeFiles/gloo.dir/broadcast.cc.o CMakeFiles/gloo.dir/context.cc.o CMakeFiles/gloo.dir/gather.cc.o CMakeFiles/gloo.dir/gatherv.cc.o CMakeFiles/gloo.dir/reduce.cc.o CMakeFiles/gloo.dir/scatter.cc.o CMakeFiles/gloo.dir/types.cc.o CMakeFiles/gloo.dir/common/logging.cc.o CMakeFiles/gloo.dir/common/linux.cc.o CMakeFiles/gloo.dir/rendezvous/context.cc.o CMakeFiles/gloo.dir/rendezvous/file_store.cc.o CMakeFiles/gloo.dir/rendezvous/hash_store.cc.o CMakeFiles/gloo.dir/rendezvous/prefix_store.cc.o CMakeFiles/gloo.dir/rendezvous/store.cc.o CMakeFiles/gloo.dir/transport/address.cc.o CMakeFiles/gloo.dir/transport/buffer.cc.o CMakeFiles/gloo.dir/transport/context.cc.o CMakeFiles/gloo.dir/transport/device.cc.o CMakeFiles/gloo.dir/transport/pair.cc.o CMakeFiles/gloo.dir/transport/unbound_buffer.cc.o CMakeFiles/gloo.dir/transport/tcp/address.cc.o CMakeFiles/gloo.dir/transport/tcp/buffer.cc.o CMakeFiles/gloo.dir/transport/tcp/context.cc.o CMakeFiles/gloo.dir/transport/tcp/device.cc.o CMakeFiles/gloo.dir/transport/tcp/loop.cc.o CMakeFiles/gloo.dir/transport/tcp/pair.cc.o CMakeFiles/gloo.dir/transport/tcp/unbound_buffer.cc.o /usr/bin/ranlib ../../../lib/libgloo.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 5%] Built target gloo /usr/bin/gmake -f caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build.make caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 5%] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto/torch.proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/cmake -E make_directory /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/protoc -I/builddir/build/BUILD/pytorch-v2.0.1 --cpp_out=dllexport_decl=TORCH_API:/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto/torch.proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/protoc -I/builddir/build/BUILD/pytorch-v2.0.1 --python_out /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto/torch.proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/cmake -DFILENAME=/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto/torch.pb.h "-DNAMESPACES=caffe;caffe2;onnx;torch" -DSYSTEM_PROTOBUF=YES -P /builddir/build/BUILD/pytorch-v2.0.1/cmake/ProtoBufPatch.cmake [ 5%] Running C++/Python protocol buffer compiler on /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto/caffe2.proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/cmake -E make_directory /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/protoc -I/builddir/build/BUILD/pytorch-v2.0.1 --cpp_out=dllexport_decl=TORCH_API:/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto/caffe2.proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/protoc -I/builddir/build/BUILD/pytorch-v2.0.1 --python_out /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto/caffe2.proto cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/cmake -DFILENAME=/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto/caffe2.pb.h "-DNAMESPACES=caffe;caffe2;onnx;torch" -DSYSTEM_PROTOBUF=YES -P /builddir/build/BUILD/pytorch-v2.0.1/cmake/ProtoBufPatch.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2/proto /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build.make caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 5%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DTORCH_API="" -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -MD -MT caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o -MF CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o.d -o CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto/torch.pb.cc [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o -MF CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o.d -o CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/HermeticPyObjectTLS.cpp [ 5%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o -MF CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o.d -o CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/LocalDispatchKeySet.cpp [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o -MF CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o.d -o CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/PyInterpreter.cpp [ 6%] Building CXX object caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DTORCH_API="" -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -MD -MT caffe2/proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o -MF CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o.d -o CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/proto/caffe2.pb.cc [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o -MF CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o.d -o CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/PyObjectSlot.cpp [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o -MF CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o.d -o CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/PythonDispatcherTLS.cpp [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o -MF CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o.d -o CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/SizesAndStrides.cpp [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o -MF CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o.d -o CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/TorchDispatchModeTLS.cpp [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o -MF CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o.d -o CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/impl/alloc_cpu.cpp [ 6%] Building CXX object c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/core/thread_pool.cpp.o -MF CMakeFiles/c10.dir/core/thread_pool.cpp.o.d -o CMakeFiles/c10.dir/core/thread_pool.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/core/thread_pool.cpp gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 6%] Built target Caffe2_PROTO /usr/bin/gmake -f third_party/onnx/CMakeFiles/gen_onnx_proto.dir/build.make third_party/onnx/CMakeFiles/gen_onnx_proto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/CMakeFiles/gen_onnx_proto.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/onnx/CMakeFiles/gen_onnx_proto.dir/build.make third_party/onnx/CMakeFiles/gen_onnx_proto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 7%] Running gen_proto.py on onnx/onnx.in.proto cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/python3 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/gen_proto.py -p onnx_torch -o /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx onnx Processing /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/onnx.in.proto Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.proto Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.proto3 Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx.pb.h generating /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_pb.py [ 7%] Running C++ protocol buffer compiler on /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.proto cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/protoc /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.proto -I /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx --cpp_out dllexport_decl=ONNX_API:/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 7%] Built target gen_onnx_proto /usr/bin/gmake -f third_party/foxi/CMakeFiles/foxi_loader.dir/build.make third_party/foxi/CMakeFiles/foxi_loader.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi/CMakeFiles/foxi_loader.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/foxi/CMakeFiles/foxi_loader.dir/build.make third_party/foxi/CMakeFiles/foxi_loader.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 7%] Building C object third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi && /usr/bin/ccache /usr/lib64/ccache/gcc -DONNXIFI_ENABLE_EXT=1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=c90 -fPIC -DCAFFE2_USE_GLOO -MD -MT third_party/foxi/CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o -MF CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o.d -o CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi/foxi/onnxifi_loader.c [ 7%] Linking C static library ../../lib/libfoxi_loader.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi && /usr/bin/cmake -P CMakeFiles/foxi_loader.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi && /usr/bin/cmake -E cmake_link_script CMakeFiles/foxi_loader.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libfoxi_loader.a CMakeFiles/foxi_loader.dir/foxi/onnxifi_loader.c.o /usr/bin/ranlib ../../lib/libfoxi_loader.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 7%] Built target foxi_loader /usr/bin/gmake -f caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/build.make caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/build.make caffe2/CMakeFiles/ATEN_CPU_FILES_GEN_TARGET.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 7%] Building CXX object c10/CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o -MF CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o.d -o CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/mobile/CPUCachingAllocator.cpp [ 7%] Generating ATen headers cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/python3 -m torchgen.gen --source-path /builddir/build/BUILD/pytorch-v2.0.1/cmake/../aten/src/ATen --install_dir /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen --per-operator-headers --generate headers --output-dependencies /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/generated_headers.cmake [ 7%] Building CXX object c10/CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o -MF CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o.d -o CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/mobile/CPUProfilingAllocator.cpp [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/Array.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Array.cpp.o -MF CMakeFiles/c10.dir/util/Array.cpp.o.d -o CMakeFiles/c10.dir/util/Array.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Array.cpp [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Backtrace.cpp.o -MF CMakeFiles/c10.dir/util/Backtrace.cpp.o.d -o CMakeFiles/c10.dir/util/Backtrace.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Backtrace.cpp [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/C++17.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/C++17.cpp.o -MF CMakeFiles/c10.dir/util/C++17.cpp.o.d -o CMakeFiles/c10.dir/util/C++17.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/C++17.cpp [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o -MF CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o.d -o CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/DeadlockDetection.cpp [ 7%] Generating ATen sources cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/python3 -m torchgen.gen --source-path /builddir/build/BUILD/pytorch-v2.0.1/cmake/../aten/src/ATen --install_dir /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen --per-operator-headers --generate sources --output-dependencies /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/generated_sources.cmake [ 7%] Building CXX object c10/CMakeFiles/c10.dir/util/Exception.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Exception.cpp.o -MF CMakeFiles/c10.dir/util/Exception.cpp.o.d -o CMakeFiles/c10.dir/util/Exception.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Exception.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Half.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Half.cpp.o -MF CMakeFiles/c10.dir/util/Half.cpp.o.d -o CMakeFiles/c10.dir/util/Half.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Half.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/LeftRight.cpp.o -MF CMakeFiles/c10.dir/util/LeftRight.cpp.o.d -o CMakeFiles/c10.dir/util/LeftRight.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/LeftRight.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Logging.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Logging.cpp.o -MF CMakeFiles/c10.dir/util/Logging.cpp.o.d -o CMakeFiles/c10.dir/util/Logging.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Logging.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/MathConstants.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/MathConstants.cpp.o -MF CMakeFiles/c10.dir/util/MathConstants.cpp.o.d -o CMakeFiles/c10.dir/util/MathConstants.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/MathConstants.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Metaprogramming.cpp.o -MF CMakeFiles/c10.dir/util/Metaprogramming.cpp.o.d -o CMakeFiles/c10.dir/util/Metaprogramming.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Metaprogramming.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Optional.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Optional.cpp.o -MF CMakeFiles/c10.dir/util/Optional.cpp.o.d -o CMakeFiles/c10.dir/util/Optional.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Optional.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/SmallVector.cpp.o -MF CMakeFiles/c10.dir/util/SmallVector.cpp.o.d -o CMakeFiles/c10.dir/util/SmallVector.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/SmallVector.cpp [ 8%] Generating ATen declarations_yaml cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/python3 -m torchgen.gen --source-path /builddir/build/BUILD/pytorch-v2.0.1/cmake/../aten/src/ATen --install_dir /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen --per-operator-headers --generate declarations_yaml --output-dependencies /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/generated_declarations_yaml.cmake [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/StringUtil.cpp.o -MF CMakeFiles/c10.dir/util/StringUtil.cpp.o.d -o CMakeFiles/c10.dir/util/StringUtil.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/StringUtil.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o -MF CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o.d -o CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/ThreadLocalDebugInfo.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeCast.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/TypeCast.cpp.o -MF CMakeFiles/c10.dir/util/TypeCast.cpp.o.d -o CMakeFiles/c10.dir/util/TypeCast.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/TypeCast.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeList.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/TypeList.cpp.o -MF CMakeFiles/c10.dir/util/TypeList.cpp.o.d -o CMakeFiles/c10.dir/util/TypeList.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/TypeList.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/TypeTraits.cpp.o -MF CMakeFiles/c10.dir/util/TypeTraits.cpp.o.d -o CMakeFiles/c10.dir/util/TypeTraits.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/TypeTraits.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Type_demangle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Type_demangle.cpp.o -MF CMakeFiles/c10.dir/util/Type_demangle.cpp.o.d -o CMakeFiles/c10.dir/util/Type_demangle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Type_demangle.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o -MF CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o.d -o CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Type_no_demangle.cpp [ 8%] Building CXX object c10/CMakeFiles/c10.dir/util/Unicode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/Unicode.cpp.o -MF CMakeFiles/c10.dir/util/Unicode.cpp.o.d -o CMakeFiles/c10.dir/util/Unicode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/Unicode.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o -MF CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o.d -o CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/UniqueVoidPtr.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/complex_math.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/complex_math.cpp.o -MF CMakeFiles/c10.dir/util/complex_math.cpp.o.d -o CMakeFiles/c10.dir/util/complex_math.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/complex_math.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o -MF CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o.d -o CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/flags_use_gflags.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o -MF CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o.d -o CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/flags_use_no_gflags.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/int128.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/int128.cpp.o -MF CMakeFiles/c10.dir/util/int128.cpp.o.d -o CMakeFiles/c10.dir/util/int128.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/int128.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o -MF CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o.d -o CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/intrusive_ptr.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/numa.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/numa.cpp.o -MF CMakeFiles/c10.dir/util/numa.cpp.o.d -o CMakeFiles/c10.dir/util/numa.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/numa.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/signal_handler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/signal_handler.cpp.o -MF CMakeFiles/c10.dir/util/signal_handler.cpp.o.d -o CMakeFiles/c10.dir/util/signal_handler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/signal_handler.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/thread_name.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/thread_name.cpp.o -MF CMakeFiles/c10.dir/util/thread_name.cpp.o.d -o CMakeFiles/c10.dir/util/thread_name.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/thread_name.cpp [ 9%] Building CXX object c10/CMakeFiles/c10.dir/util/typeid.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/ccache /usr/lib64/ccache/g++ -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DSUPPORTS_BACKTRACE=1 -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -MD -MT c10/CMakeFiles/c10.dir/util/typeid.cpp.o -MF CMakeFiles/c10.dir/util/typeid.cpp.o.d -o CMakeFiles/c10.dir/util/typeid.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/c10/util/typeid.cpp [ 9%] Linking CXX shared library ../lib/libc10.so cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/c10 && /usr/bin/cmake -E cmake_link_script CMakeFiles/c10.dir/link.txt --verbose=1 /usr/lib64/ccache/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DNDEBUG -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--no-as-needed -rdynamic -shared -Wl,-soname,libc10.so -o ../lib/libc10.so CMakeFiles/c10.dir/core/Allocator.cpp.o CMakeFiles/c10.dir/core/AutogradState.cpp.o CMakeFiles/c10.dir/core/CPUAllocator.cpp.o CMakeFiles/c10.dir/core/CopyBytes.cpp.o CMakeFiles/c10.dir/core/DefaultDtype.cpp.o CMakeFiles/c10.dir/core/Device.cpp.o CMakeFiles/c10.dir/core/DeviceType.cpp.o CMakeFiles/c10.dir/core/DispatchKey.cpp.o CMakeFiles/c10.dir/core/DispatchKeySet.cpp.o CMakeFiles/c10.dir/core/GeneratorImpl.cpp.o CMakeFiles/c10.dir/core/GradMode.cpp.o CMakeFiles/c10.dir/core/InferenceMode.cpp.o CMakeFiles/c10.dir/core/SafePyObject.cpp.o CMakeFiles/c10.dir/core/Scalar.cpp.o CMakeFiles/c10.dir/core/Storage.cpp.o CMakeFiles/c10.dir/core/StorageImpl.cpp.o CMakeFiles/c10.dir/core/Stream.cpp.o CMakeFiles/c10.dir/core/SymBool.cpp.o CMakeFiles/c10.dir/core/SymFloat.cpp.o CMakeFiles/c10.dir/core/SymInt.cpp.o CMakeFiles/c10.dir/core/SymIntArrayRef.cpp.o CMakeFiles/c10.dir/core/SymNodeImpl.cpp.o CMakeFiles/c10.dir/core/TensorImpl.cpp.o CMakeFiles/c10.dir/core/TensorOptions.cpp.o CMakeFiles/c10.dir/core/UndefinedTensorImpl.cpp.o CMakeFiles/c10.dir/core/WrapDimMinimal.cpp.o CMakeFiles/c10.dir/core/impl/DeviceGuardImplInterface.cpp.o CMakeFiles/c10.dir/core/impl/GPUTrace.cpp.o CMakeFiles/c10.dir/core/impl/HermeticPyObjectTLS.cpp.o CMakeFiles/c10.dir/core/impl/LocalDispatchKeySet.cpp.o CMakeFiles/c10.dir/core/impl/PyInterpreter.cpp.o CMakeFiles/c10.dir/core/impl/PyObjectSlot.cpp.o CMakeFiles/c10.dir/core/impl/PythonDispatcherTLS.cpp.o CMakeFiles/c10.dir/core/impl/SizesAndStrides.cpp.o CMakeFiles/c10.dir/core/impl/TorchDispatchModeTLS.cpp.o CMakeFiles/c10.dir/core/impl/alloc_cpu.cpp.o CMakeFiles/c10.dir/core/thread_pool.cpp.o CMakeFiles/c10.dir/mobile/CPUCachingAllocator.cpp.o CMakeFiles/c10.dir/mobile/CPUProfilingAllocator.cpp.o CMakeFiles/c10.dir/util/Array.cpp.o CMakeFiles/c10.dir/util/Backtrace.cpp.o CMakeFiles/c10.dir/util/C++17.cpp.o CMakeFiles/c10.dir/util/DeadlockDetection.cpp.o CMakeFiles/c10.dir/util/Exception.cpp.o CMakeFiles/c10.dir/util/Half.cpp.o CMakeFiles/c10.dir/util/LeftRight.cpp.o CMakeFiles/c10.dir/util/Logging.cpp.o CMakeFiles/c10.dir/util/MathConstants.cpp.o CMakeFiles/c10.dir/util/Metaprogramming.cpp.o CMakeFiles/c10.dir/util/Optional.cpp.o CMakeFiles/c10.dir/util/SmallVector.cpp.o CMakeFiles/c10.dir/util/StringUtil.cpp.o CMakeFiles/c10.dir/util/ThreadLocalDebugInfo.cpp.o CMakeFiles/c10.dir/util/TypeCast.cpp.o CMakeFiles/c10.dir/util/TypeList.cpp.o CMakeFiles/c10.dir/util/TypeTraits.cpp.o CMakeFiles/c10.dir/util/Type_demangle.cpp.o CMakeFiles/c10.dir/util/Type_no_demangle.cpp.o CMakeFiles/c10.dir/util/Unicode.cpp.o CMakeFiles/c10.dir/util/UniqueVoidPtr.cpp.o CMakeFiles/c10.dir/util/complex_math.cpp.o CMakeFiles/c10.dir/util/flags_use_gflags.cpp.o CMakeFiles/c10.dir/util/flags_use_no_gflags.cpp.o CMakeFiles/c10.dir/util/int128.cpp.o CMakeFiles/c10.dir/util/intrusive_ptr.cpp.o CMakeFiles/c10.dir/util/numa.cpp.o CMakeFiles/c10.dir/util/signal_handler.cpp.o CMakeFiles/c10.dir/util/thread_name.cpp.o CMakeFiles/c10.dir/util/typeid.cpp.o -Wl,-rpath,::::::: gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 9%] Built target c10 /usr/bin/gmake -f caffe2/CMakeFiles/torch_global_deps.dir/build.make caffe2/CMakeFiles/torch_global_deps.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/CMakeFiles/torch_global_deps.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/CMakeFiles/torch_global_deps.dir/build.make caffe2/CMakeFiles/torch_global_deps.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 9%] Building C object caffe2/CMakeFiles/torch_global_deps.dir/__/torch/csrc/empty.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/gcc -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -Dtorch_global_deps_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -DNDEBUG -DNDEBUG -std=gnu11 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -MD -MT caffe2/CMakeFiles/torch_global_deps.dir/__/torch/csrc/empty.c.o -MF CMakeFiles/torch_global_deps.dir/__/torch/csrc/empty.c.o.d -o CMakeFiles/torch_global_deps.dir/__/torch/csrc/empty.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/empty.c [ 10%] Linking C shared library ../lib/libtorch_global_deps.so cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/torch_global_deps.dir/link.txt --verbose=1 /usr/lib64/ccache/gcc -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -DNDEBUG -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--no-as-needed -rdynamic -shared -Wl,-soname,libtorch_global_deps.so -o ../lib/libtorch_global_deps.so CMakeFiles/torch_global_deps.dir/__/torch/csrc/empty.c.o -Wl,-rpath,::::::: gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 10%] Built target torch_global_deps /usr/bin/gmake -f confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/build.make confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/build.make confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/init.c.o -MF CMakeFiles/qnnpack.dir/src/init.c.o.d -o CMakeFiles/qnnpack.dir/src/init.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/init.c [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/add.c.o -MF CMakeFiles/qnnpack.dir/src/add.c.o.d -o CMakeFiles/qnnpack.dir/src/add.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/add.c [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/average-pooling.c.o -MF CMakeFiles/qnnpack.dir/src/average-pooling.c.o.d -o CMakeFiles/qnnpack.dir/src/average-pooling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/average-pooling.c [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o -MF CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o.d -o CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/channel-shuffle.c [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/clamp.c.o -MF CMakeFiles/qnnpack.dir/src/clamp.c.o.d -o CMakeFiles/qnnpack.dir/src/clamp.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/clamp.c [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/convolution.c.o -MF CMakeFiles/qnnpack.dir/src/convolution.c.o.d -o CMakeFiles/qnnpack.dir/src/convolution.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/convolution.c gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 10%] Built target ATEN_CPU_FILES_GEN_TARGET /usr/bin/gmake -f confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/build.make confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/build.make confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 10%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/init.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/init.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/init.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/init.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/init.c [ 10%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/add.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/add.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/add.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/add.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/add.c [ 10%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/average-pooling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/average-pooling.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/average-pooling.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/average-pooling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/average-pooling.c [ 10%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/deconvolution.c.o -MF CMakeFiles/qnnpack.dir/src/deconvolution.c.o.d -o CMakeFiles/qnnpack.dir/src/deconvolution.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/deconvolution.c [ 10%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/channel-shuffle.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/channel-shuffle.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/channel-shuffle.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/channel-shuffle.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/channel-shuffle.c [ 10%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/clamp.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/clamp.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/clamp.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/clamp.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/clamp.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/fully-connected.c.o -MF CMakeFiles/qnnpack.dir/src/fully-connected.c.o.d -o CMakeFiles/qnnpack.dir/src/fully-connected.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/fully-connected.c [ 11%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/conv-prepack.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/conv-prepack.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/conv-prepack.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/conv-prepack.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/conv-prepack.cc [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o -MF CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o.d -o CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/global-average-pooling.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/leaky-relu.c.o -MF CMakeFiles/qnnpack.dir/src/leaky-relu.c.o.d -o CMakeFiles/qnnpack.dir/src/leaky-relu.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/leaky-relu.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/max-pooling.c.o -MF CMakeFiles/qnnpack.dir/src/max-pooling.c.o.d -o CMakeFiles/qnnpack.dir/src/max-pooling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/max-pooling.c [ 11%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/convolution.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/convolution.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/convolution.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/convolution.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/convolution.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sigmoid.c.o -MF CMakeFiles/qnnpack.dir/src/sigmoid.c.o.d -o CMakeFiles/qnnpack.dir/src/sigmoid.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/sigmoid.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/softargmax.c.o -MF CMakeFiles/qnnpack.dir/src/softargmax.c.o.d -o CMakeFiles/qnnpack.dir/src/softargmax.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/softargmax.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -Os -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-delete.c.o -MF CMakeFiles/qnnpack.dir/src/operator-delete.c.o.d -o CMakeFiles/qnnpack.dir/src/operator-delete.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/operator-delete.c [ 11%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/indirection.c.o -MF CMakeFiles/qnnpack.dir/src/indirection.c.o.d -o CMakeFiles/qnnpack.dir/src/indirection.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/indirection.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/deconvolution.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/deconvolution.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/deconvolution.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/deconvolution.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/deconvolution.c [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/operator-run.c.o -MF CMakeFiles/qnnpack.dir/src/operator-run.c.o.d -o CMakeFiles/qnnpack.dir/src/operator-run.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/operator-run.c [ 12%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-prepack.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-prepack.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/fc-prepack.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/fc-prepack.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/fc-prepack.cc [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fully-connected.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fully-connected.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/fully-connected.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/fully-connected.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/fully-connected.c [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o -MF CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o.d -o CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8lut32norm/scalar.c [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o -MF CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o.d -o CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8lut/scalar.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fully-connected-sparse.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fully-connected-sparse.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/fully-connected-sparse.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/fully-connected-sparse.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/fully-connected-sparse.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8lut/scalar.c:17:19: warning: argument 3 of type ‘const uint8_t[restrict static 256]’ {aka ‘const unsigned char[restrict 256]’} with mismatched bound [-Warray-parameter=] 17 | const uint8_t t[RESTRICT_STATIC 256], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8lut/scalar.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/x8lut.h:25:22: note: previously declared as ‘const uint8_t *’ {aka ‘const unsigned char *’} 25 | const uint8_t* t, \ | ~~~~~~~~~~~~~~~^ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/x8lut.h:28:1: note: in expansion of macro ‘DECLARE_X8LUT_UKERNEL_FUNCTION’ 28 | DECLARE_X8LUT_UKERNEL_FUNCTION(x8lut_ukernel__scalar) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o -MF CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o.d -o CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/sgemm/6x8-psimd.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/global-average-pooling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/global-average-pooling.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/global-average-pooling.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/global-average-pooling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/global-average-pooling.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/hardsigmoid.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/hardsigmoid.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/hardsigmoid.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/hardsigmoid.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/hardsigmoid.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/hardswish.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/hardswish.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/hardswish.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/hardswish.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/hardswish.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/leaky-relu.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/leaky-relu.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/leaky-relu.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/leaky-relu.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/leaky-relu.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/sgemm/6x8-psimd.c:23:42: warning: argument 9 of type ‘const struct qnnp_fp32_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const struct qnnp_fp32_clamping_params clamping_params[restrict static 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/sgemm/6x8-psimd.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/sgemm.h:30:47: note: previously declared as ‘const struct qnnp_fp32_clamping_params *’ 30 | const struct qnnp_fp32_clamping_params* clamping_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/sgemm.h:35:1: note: in expansion of macro ‘DECLARE_SGEMM_UKERNEL_FUNCTION’ 35 | DECLARE_SGEMM_UKERNEL_FUNCTION(sgemm_ukernel_6x8__psimd) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/mp8x9p8q-sse2.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/max-pooling.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/max-pooling.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/max-pooling.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/max-pooling.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/max-pooling.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/sigmoid.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/sigmoid.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/sigmoid.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/sigmoid.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/sigmoid.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/mp8x9p8q-sse2.c:26:50: warning: argument 10 of type ‘const union qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 26 | const union qnnp_avgpool_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/mp8x9p8q-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8avgpool.h:32:53: note: previously declared as ‘const union qnnp_avgpool_quantization_params *’ 32 | const union qnnp_avgpool_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8avgpool.h:35:1: note: in expansion of macro ‘DECLARE_Q8MPAVGPOOL_UKERNEL_FUNCTION’ 35 | DECLARE_Q8MPAVGPOOL_UKERNEL_FUNCTION(q8avgpool_ukernel_mp8x9p8q__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/softargmax.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/softargmax.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/softargmax.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/softargmax.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/softargmax.c [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/up8x9-sse2.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/tanh.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/tanh.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/tanh.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/tanh.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/tanh.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/up8x9-sse2.c:25:50: warning: argument 9 of type ‘const union qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 25 | const union qnnp_avgpool_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/up8x9-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8avgpool.h:47:53: note: previously declared as ‘const union qnnp_avgpool_quantization_params *’ 47 | const union qnnp_avgpool_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8avgpool.h:51:1: note: in expansion of macro ‘DECLARE_Q8UPAVGPOOL_UKERNEL_FUNCTION’ 51 | DECLARE_Q8UPAVGPOOL_UKERNEL_FUNCTION(q8avgpool_ukernel_up8x9__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 12%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/up8xm-sse2.c [ 12%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/operator-delete.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Os -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/operator-delete.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/operator-delete.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/operator-delete.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/operator-delete.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/up8xm-sse2.c:25:50: warning: argument 9 of type ‘const union qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 25 | const union qnnp_avgpool_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8avgpool/up8xm-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8avgpool.h:47:53: note: previously declared as ‘const union qnnp_avgpool_quantization_params *’ 47 | const union qnnp_avgpool_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8avgpool.h:52:1: note: in expansion of macro ‘DECLARE_Q8UPAVGPOOL_UKERNEL_FUNCTION’ 52 | DECLARE_Q8UPAVGPOOL_UKERNEL_FUNCTION(q8avgpool_ukernel_up8xm__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 13%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8conv/4x4c2-sse2.c [ 13%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/conv-run.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -Wno-deprecated-declarations -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/conv-run.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/conv-run.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/conv-run.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/conv-run.cc [ 14%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/deconv-run.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -Wno-deprecated-declarations -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/deconv-run.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/deconv-run.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/deconv-run.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/deconv-run.cc /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8conv/4x4c2-sse2.c:23:47: warning: argument 9 of type ‘const union qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union qnnp_conv_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8conv/4x4c2-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8conv.h:31:50: note: previously declared as ‘const union qnnp_conv_quantization_params *’ 31 | const union qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8conv.h:37:1: note: in expansion of macro ‘DECLARE_Q8CONV_UKERNEL_FUNCTION’ 37 | DECLARE_Q8CONV_UKERNEL_FUNCTION(q8conv_ukernel_4x4c2__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8dwconv/mp8x25-sse2.c [ 14%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-run.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -Wno-deprecated-declarations -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-run.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/fc-run.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/fc-run.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/fc-run.cc [ 14%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-unpack.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-unpack.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/fc-unpack.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/fc-unpack.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/fc-unpack.cc [ 14%] Building CXX object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-dynamic-run.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/g++ -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -std=gnu++14 -fPIC -pthread -Wno-deprecated-declarations -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/fc-dynamic-run.cc.o -MF CMakeFiles/pytorch_qnnpack.dir/src/fc-dynamic-run.cc.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/fc-dynamic-run.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/fc-dynamic-run.cc [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/indirection.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/indirection.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/indirection.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/indirection.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/indirection.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8dwconv/mp8x25-sse2.c:23:47: warning: argument 9 of type ‘const union qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union qnnp_conv_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8dwconv/mp8x25-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8dwconv.h:46:48: note: previously declared as ‘const union qnnp_conv_quantization_params *’ 46 | const union qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8dwconv.h:49:1: note: in expansion of macro ‘DECLARE_Q8MPDWCONV_UKERNEL_FUNCTION’ 49 | DECLARE_Q8MPDWCONV_UKERNEL_FUNCTION(q8dwconv_ukernel_mp8x25__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8dwconv/up8x9-sse2.c [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/operator-run.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -Wno-deprecated-declarations -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/operator-run.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/operator-run.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/operator-run.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/operator-run.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8dwconv/up8x9-sse2.c:22:47: warning: argument 8 of type ‘const union qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union qnnp_conv_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8dwconv/up8x9-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8dwconv.h:30:48: note: previously declared as ‘const union qnnp_conv_quantization_params *’ 30 | const union qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8dwconv.h:34:1: note: in expansion of macro ‘DECLARE_Q8UPDWCONV_UKERNEL_FUNCTION’ 34 | DECLARE_Q8UPDWCONV_UKERNEL_FUNCTION(q8dwconv_ukernel_up8x9__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/mp8x7p7q-sse2.c [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8lut32norm/scalar.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8lut32norm/scalar.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/u8lut32norm/scalar.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/u8lut32norm/scalar.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8lut32norm/scalar.c [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8lut/scalar.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8lut/scalar.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/x8lut/scalar.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/x8lut/scalar.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8lut/scalar.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8lut/scalar.c:16:19: warning: argument 3 of type ‘const uint8_t[restrict static 256]’ {aka ‘const unsigned char[restrict 256]’} with mismatched bound [-Warray-parameter=] 16 | const uint8_t t[RESTRICT_STATIC 256], | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8lut/scalar.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/x8lut.h:23:50: note: previously declared as ‘const uint8_t *’ {aka ‘const unsigned char *’} 23 | size_t n, const uint8_t* x, const uint8_t* t, uint8_t* y); | ~~~~~~~~~~~~~~~^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/x8lut.h:25:1: note: in expansion of macro ‘DECLARE_PYTORCH_X8LUT_UKERNEL_FUNCTION’ 25 | DECLARE_PYTORCH_X8LUT_UKERNEL_FUNCTION(pytorch_x8lut_ukernel__scalar) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/sgemm/6x8-psimd.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/sgemm/6x8-psimd.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/sgemm/6x8-psimd.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/sgemm/6x8-psimd.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/6x8-psimd.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/mp8x7p7q-sse2.c:24:50: warning: argument 8 of type ‘const union qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union qnnp_avgpool_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/mp8x7p7q-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gavgpool.h:30:53: note: previously declared as ‘const union qnnp_avgpool_quantization_params *’ 30 | const union qnnp_avgpool_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gavgpool.h:33:1: note: in expansion of macro ‘DECLARE_Q8MPGAVGPOOL_UKERNEL_FUNCTION’ 33 | DECLARE_Q8MPGAVGPOOL_UKERNEL_FUNCTION(q8gavgpool_ukernel_mp8x7p7q__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/up8x7-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/up8x7-sse2.c:23:50: warning: argument 7 of type ‘const union qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union qnnp_avgpool_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/up8x7-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gavgpool.h:43:53: note: previously declared as ‘const union qnnp_avgpool_quantization_params *’ 43 | const union qnnp_avgpool_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gavgpool.h:47:1: note: in expansion of macro ‘DECLARE_Q8UPGAVGPOOL_UKERNEL_FUNCTION’ 47 | DECLARE_Q8UPGAVGPOOL_UKERNEL_FUNCTION(q8gavgpool_ukernel_up8x7__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/up8xm-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/up8xm-sse2.c:23:50: warning: argument 7 of type ‘const union qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union qnnp_avgpool_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gavgpool/up8xm-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gavgpool.h:43:53: note: previously declared as ‘const union qnnp_avgpool_quantization_params *’ 43 | const union qnnp_avgpool_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gavgpool.h:48:1: note: in expansion of macro ‘DECLARE_Q8UPGAVGPOOL_UKERNEL_FUNCTION’ 48 | DECLARE_Q8UPGAVGPOOL_UKERNEL_FUNCTION(q8gavgpool_ukernel_up8xm__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gemm/2x4c8-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/6x8-psimd.c:23:9: warning: argument 9 of type ‘const struct pytorch_qnnp_fp32_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const struct pytorch_qnnp_fp32_clamping_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | clamping_params[restrict static 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/sgemm/6x8-psimd.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/sgemm.h:30:55: note: previously declared as ‘const struct pytorch_qnnp_fp32_clamping_params *’ 30 | const struct pytorch_qnnp_fp32_clamping_params* clamping_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/sgemm.h:34:1: note: in expansion of macro ‘DECLARE_PYTORCH_SGEMM_UKERNEL_FUNCTION’ 34 | DECLARE_PYTORCH_SGEMM_UKERNEL_FUNCTION(pytorch_sgemm_ukernel_6x8__psimd) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/mp8x9p8q-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/mp8x9p8q-sse2.c:26:9: warning: argument 10 of type ‘const union pytorch_qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 25 | const union pytorch_qnnp_avgpool_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/mp8x9p8q-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h:33:11: note: previously declared as ‘const union pytorch_qnnp_avgpool_quantization_params *’ 32 | const union pytorch_qnnp_avgpool_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 33 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h:36:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8MPAVGPOOL_UKERNEL_FUNCTION’ 36 | DECLARE_PYTORCH_Q8MPAVGPOOL_UKERNEL_FUNCTION(pytorch_q8avgpool_ukernel_mp8x9p8q__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/up8x9-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gemm/2x4c8-sse2.c:46:47: warning: argument 9 of type ‘const union qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 46 | const union qnnp_conv_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gemm/2x4c8-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gemm.h:31:50: note: previously declared as ‘const union qnnp_conv_quantization_params *’ 31 | const union qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gemm.h:43:1: note: in expansion of macro ‘DECLARE_Q8GEMM_UKERNEL_FUNCTION’ 43 | DECLARE_Q8GEMM_UKERNEL_FUNCTION(q8gemm_ukernel_2x4c8__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gemm/4x4c2-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/up8x9-sse2.c:25:9: warning: argument 9 of type ‘const union pytorch_qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union pytorch_qnnp_avgpool_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/up8x9-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h:49:11: note: previously declared as ‘const union pytorch_qnnp_avgpool_quantization_params *’ 48 | const union pytorch_qnnp_avgpool_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h:53:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8UPAVGPOOL_UKERNEL_FUNCTION’ 53 | DECLARE_PYTORCH_Q8UPAVGPOOL_UKERNEL_FUNCTION(pytorch_q8avgpool_ukernel_up8x9__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/up8xm-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/up8xm-sse2.c:25:9: warning: argument 9 of type ‘const union pytorch_qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union pytorch_qnnp_avgpool_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8avgpool/up8xm-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h:49:11: note: previously declared as ‘const union pytorch_qnnp_avgpool_quantization_params *’ 48 | const union pytorch_qnnp_avgpool_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 49 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8avgpool.h:54:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8UPAVGPOOL_UKERNEL_FUNCTION’ 54 | DECLARE_PYTORCH_Q8UPAVGPOOL_UKERNEL_FUNCTION(pytorch_q8avgpool_ukernel_up8xm__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8conv/4x4c2-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8conv/4x4c2-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8conv/4x4c2-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8conv/4x4c2-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/4x4c2-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gemm/4x4c2-sse2.c:23:47: warning: argument 9 of type ‘const union qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union qnnp_conv_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8gemm/4x4c2-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gemm.h:31:50: note: previously declared as ‘const union qnnp_conv_quantization_params *’ 31 | const union qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8gemm.h:44:1: note: in expansion of macro ‘DECLARE_Q8GEMM_UKERNEL_FUNCTION’ 44 | DECLARE_Q8GEMM_UKERNEL_FUNCTION(q8gemm_ukernel_4x4c2__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o -MF CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8vadd/sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/4x4c2-sse2.c:25:9: warning: argument 10 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8conv/4x4c2-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8conv.h:32:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 32 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8conv.h:38:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8CONV_UKERNEL_FUNCTION’ 38 | DECLARE_PYTORCH_Q8CONV_UKERNEL_FUNCTION(pytorch_q8conv_ukernel_4x4c2__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x25-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8vadd/sse2.c:21:46: warning: argument 5 of type ‘const union qnnp_add_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 21 | const union qnnp_add_quantization_params quantization_params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/q8vadd/sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8vadd.h:27:49: note: previously declared as ‘const union qnnp_add_quantization_params *’ 27 | const union qnnp_add_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/q8vadd.h:31:1: note: in expansion of macro ‘DECLARE_Q8VADD_UKERNEL_FUNCTION’ 31 | DECLARE_Q8VADD_UKERNEL_FUNCTION(q8vadd_ukernel__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o -MF CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8clamp/sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8clamp/sse2.c:20:41: warning: argument 4 of type ‘const union qnnp_u8_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 20 | const union qnnp_u8_clamping_params params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8clamp/sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/u8clamp.h:26:44: note: previously declared as ‘const union qnnp_u8_clamping_params *’ 26 | const union qnnp_u8_clamping_params* params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/u8clamp.h:29:1: note: in expansion of macro ‘DECLARE_U8CLAMP_UKERNEL_FUNCTION’ 29 | DECLARE_U8CLAMP_UKERNEL_FUNCTION(u8clamp_ukernel__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8maxpool/16x9p8q-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8maxpool/16x9p8q-sse2.c:24:41: warning: argument 8 of type ‘const union qnnp_u8_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union qnnp_u8_clamping_params params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8maxpool/16x9p8q-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/u8maxpool.h:30:44: note: previously declared as ‘const union qnnp_u8_clamping_params *’ 30 | const union qnnp_u8_clamping_params* params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/u8maxpool.h:33:1: note: in expansion of macro ‘DECLARE_U8MAXPOOL_UKERNEL_FUNCTION’ 33 | DECLARE_U8MAXPOOL_UKERNEL_FUNCTION(u8maxpool_ukernel_16x9p8q__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8maxpool/sub16-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8maxpool/sub16-sse2.c:24:41: warning: argument 8 of type ‘const union qnnp_u8_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union qnnp_u8_clamping_params params[RESTRICT_STATIC 1]) | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8maxpool/sub16-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/u8maxpool.h:30:44: note: previously declared as ‘const union qnnp_u8_clamping_params *’ 30 | const union qnnp_u8_clamping_params* params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/qnnpack/u8maxpool.h:35:1: note: in expansion of macro ‘DECLARE_U8MAXPOOL_UKERNEL_FUNCTION’ 35 | DECLARE_U8MAXPOOL_UKERNEL_FUNCTION(u8maxpool_ukernel_sub16__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o -MF CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/u8rmax/sse2.c [ 14%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8zip/x2-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x25-sse2.c:23:9: warning: argument 9 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x25-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:52:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 52 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:57:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8MPDWCONV_UKERNEL_FUNCTION’ 57 | DECLARE_PYTORCH_Q8MPDWCONV_UKERNEL_FUNCTION(pytorch_q8dwconv_ukernel_mp8x25__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 14%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2-per-channel.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2-per-channel.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2-per-channel.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2-per-channel.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x25-sse2-per-channel.c [ 15%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8zip/x3-sse2.c [ 15%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8zip/x4-sse2.c [ 15%] Building C object confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu99 -fPIC -Wno-deprecated-declarations -pthread -O2 -msse2 -MD -MT confu-deps/QNNPACK/CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o -MF CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o.d -o CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/src/x8zip/xm-sse2.c [ 15%] Linking C static library ../../lib/libqnnpack.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/cmake -P CMakeFiles/qnnpack.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/QNNPACK && /usr/bin/cmake -E cmake_link_script CMakeFiles/qnnpack.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libqnnpack.a CMakeFiles/qnnpack.dir/src/init.c.o CMakeFiles/qnnpack.dir/src/add.c.o "CMakeFiles/qnnpack.dir/src/average-pooling.c.o" "CMakeFiles/qnnpack.dir/src/channel-shuffle.c.o" CMakeFiles/qnnpack.dir/src/clamp.c.o CMakeFiles/qnnpack.dir/src/convolution.c.o CMakeFiles/qnnpack.dir/src/deconvolution.c.o "CMakeFiles/qnnpack.dir/src/fully-connected.c.o" "CMakeFiles/qnnpack.dir/src/global-average-pooling.c.o" "CMakeFiles/qnnpack.dir/src/leaky-relu.c.o" "CMakeFiles/qnnpack.dir/src/max-pooling.c.o" CMakeFiles/qnnpack.dir/src/sigmoid.c.o CMakeFiles/qnnpack.dir/src/softargmax.c.o "CMakeFiles/qnnpack.dir/src/operator-delete.c.o" CMakeFiles/qnnpack.dir/src/indirection.c.o "CMakeFiles/qnnpack.dir/src/operator-run.c.o" CMakeFiles/qnnpack.dir/src/u8lut32norm/scalar.c.o CMakeFiles/qnnpack.dir/src/x8lut/scalar.c.o "CMakeFiles/qnnpack.dir/src/sgemm/6x8-psimd.c.o" "CMakeFiles/qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8conv/4x4c2-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o" "CMakeFiles/qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o" CMakeFiles/qnnpack.dir/src/q8vadd/sse2.c.o CMakeFiles/qnnpack.dir/src/u8clamp/sse2.c.o "CMakeFiles/qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o" "CMakeFiles/qnnpack.dir/src/u8maxpool/sub16-sse2.c.o" CMakeFiles/qnnpack.dir/src/u8rmax/sse2.c.o "CMakeFiles/qnnpack.dir/src/x8zip/x2-sse2.c.o" "CMakeFiles/qnnpack.dir/src/x8zip/x3-sse2.c.o" "CMakeFiles/qnnpack.dir/src/x8zip/x4-sse2.c.o" "CMakeFiles/qnnpack.dir/src/x8zip/xm-sse2.c.o" /usr/bin/ranlib ../../lib/libqnnpack.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Built target qnnpack /usr/bin/gmake -f caffe2/CMakeFiles/caffe2_protos.dir/build.make caffe2/CMakeFiles/caffe2_protos.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/CMakeFiles/caffe2_protos.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/CMakeFiles/caffe2_protos.dir/build.make caffe2/CMakeFiles/caffe2_protos.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Linking CXX static library ../lib/libcaffe2_protos.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/cmake -P CMakeFiles/caffe2_protos.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/caffe2_protos.dir/link.txt --verbose=1 /usr/bin/ar qc ../lib/libcaffe2_protos.a proto/CMakeFiles/Caffe2_PROTO.dir/torch.pb.cc.o proto/CMakeFiles/Caffe2_PROTO.dir/caffe2.pb.cc.o /usr/bin/ranlib ../lib/libcaffe2_protos.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Built target caffe2_protos /usr/bin/gmake -f third_party/onnx/CMakeFiles/gen_onnx_data_proto.dir/build.make third_party/onnx/CMakeFiles/gen_onnx_data_proto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/CMakeFiles/gen_onnx_data_proto.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/onnx/CMakeFiles/gen_onnx_data_proto.dir/build.make third_party/onnx/CMakeFiles/gen_onnx_data_proto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Running gen_proto.py on onnx/onnx-data.in.proto cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/python3 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/gen_proto.py -p onnx_torch -o /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx onnx-data Processing /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/onnx-data.in.proto Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data_onnx_torch.proto Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data_onnx_torch.proto3 Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data.pb.h generating /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_data_pb.py [ 15%] Running C++ protocol buffer compiler on /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data_onnx_torch.proto cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/protoc /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data_onnx_torch.proto -I /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx --cpp_out dllexport_decl=ONNX_API:/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Built target gen_onnx_data_proto /usr/bin/gmake -f third_party/onnx/CMakeFiles/gen_onnx_operators_proto.dir/build.make third_party/onnx/CMakeFiles/gen_onnx_operators_proto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/CMakeFiles/gen_onnx_operators_proto.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/onnx/CMakeFiles/gen_onnx_operators_proto.dir/build.make third_party/onnx/CMakeFiles/gen_onnx_operators_proto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Running gen_proto.py on onnx/onnx-operators.in.proto cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/python3 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/gen_proto.py -p onnx_torch -o /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx onnx-operators Processing /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/onnx-operators.in.proto Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators_onnx_torch.proto Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators_onnx_torch.proto3 Writing /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators.pb.h generating /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_operators_pb.py [ 15%] Running C++ protocol buffer compiler on /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators_onnx_torch.proto cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/protoc /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators_onnx_torch.proto -I /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx --cpp_out dllexport_decl=ONNX_API:/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Built target gen_onnx_operators_proto /usr/bin/gmake -f caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/build.make caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/build.make caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 15%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/common_avx.cc /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x25-sse2-per-channel.c:23:9: warning: argument 9 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x25-sse2-per-channel.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:52:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 52 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:58:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8MPDWCONV_UKERNEL_FUNCTION’ 58 | DECLARE_PYTORCH_Q8MPDWCONV_UKERNEL_FUNCTION( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x27-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x27-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x27-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x27-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x27-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x27-sse2.c:26:9: warning: argument 11 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 25 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/mp8x27-sse2.c:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:73:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 73 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:77:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8MPDWCONV_3D_UKERNEL_FUNCTION’ 77 | DECLARE_PYTORCH_Q8MPDWCONV_3D_UKERNEL_FUNCTION( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2.c [ 16%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/typed_axpy_avx.cc /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2.c:23:9: warning: argument 8 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:30:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 30 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:38:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8UPDWCONV_UKERNEL_FUNCTION’ 38 | DECLARE_PYTORCH_Q8UPDWCONV_UKERNEL_FUNCTION(pytorch_q8dwconv_ukernel_up8x9__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2-per-channel.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2-per-channel.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2-per-channel.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2-per-channel.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2-per-channel.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2-per-channel.c:23:9: warning: argument 8 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8dwconv/up8x9-sse2-per-channel.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:30:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 30 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8dwconv.h:39:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8UPDWCONV_UKERNEL_FUNCTION’ 39 | DECLARE_PYTORCH_Q8UPDWCONV_UKERNEL_FUNCTION( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/mp8x7p7q-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/mp8x7p7q-sse2.c:24:9: warning: argument 8 of type ‘const union pytorch_qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union pytorch_qnnp_avgpool_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 24 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/mp8x7p7q-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h:31:11: note: previously declared as ‘const union pytorch_qnnp_avgpool_quantization_params *’ 30 | const union pytorch_qnnp_avgpool_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 31 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h:34:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8MPGAVGPOOL_UKERNEL_FUNCTION’ 34 | DECLARE_PYTORCH_Q8MPGAVGPOOL_UKERNEL_FUNCTION(pytorch_q8gavgpool_ukernel_mp8x7p7q__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8x7-sse2.c [ 16%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/cmake -P CMakeFiles/Caffe2_perfkernels_avx.dir/cmake_clean_target.cmake /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8x7-sse2.c:23:9: warning: argument 7 of type ‘const union pytorch_qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union pytorch_qnnp_avgpool_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8x7-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h:45:11: note: previously declared as ‘const union pytorch_qnnp_avgpool_quantization_params *’ 44 | const union pytorch_qnnp_avgpool_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h:49:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8UPGAVGPOOL_UKERNEL_FUNCTION’ 49 | DECLARE_PYTORCH_Q8UPGAVGPOOL_UKERNEL_FUNCTION(pytorch_q8gavgpool_ukernel_up8x7__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/cmake -E cmake_link_script CMakeFiles/Caffe2_perfkernels_avx.dir/link.txt --verbose=1 [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o /usr/bin/ar qc ../../lib/libCaffe2_perfkernels_avx.a CMakeFiles/Caffe2_perfkernels_avx.dir/common_avx.cc.o CMakeFiles/Caffe2_perfkernels_avx.dir/typed_axpy_avx.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8xm-sse2.c /usr/bin/ranlib ../../lib/libCaffe2_perfkernels_avx.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 16%] Built target Caffe2_perfkernels_avx /usr/bin/gmake -f caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/build.make caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/build.make caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 16%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/adagrad_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/adagrad_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/adagrad_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/adagrad_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/adagrad_avx2.cc /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8xm-sse2.c:23:9: warning: argument 7 of type ‘const union pytorch_qnnp_avgpool_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 22 | const union pytorch_qnnp_avgpool_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gavgpool/up8xm-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h:45:11: note: previously declared as ‘const union pytorch_qnnp_avgpool_quantization_params *’ 44 | const union pytorch_qnnp_avgpool_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 45 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gavgpool.h:50:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8UPGAVGPOOL_UKERNEL_FUNCTION’ 50 | DECLARE_PYTORCH_Q8UPGAVGPOOL_UKERNEL_FUNCTION(pytorch_q8gavgpool_ukernel_up8xm__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/2x4c8-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/2x4c8-sse2.c:52:9: warning: argument 10 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 51 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 52 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/2x4c8-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h:32:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 32 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h:44:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8GEMM_UKERNEL_FUNCTION’ 44 | DECLARE_PYTORCH_Q8GEMM_UKERNEL_FUNCTION(pytorch_q8gemm_ukernel_2x4c8__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-dq-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-dq-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-dq-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-dq-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-dq-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-dq-sse2.c:26:9: warning: argument 11 of type ‘const struct pytorch_qnnp_conv_dynamic_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 25 | const struct pytorch_qnnp_conv_dynamic_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 26 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-dq-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h:59:67: note: previously declared as ‘const struct pytorch_qnnp_conv_dynamic_quantization_params *’ 59 | const struct pytorch_qnnp_conv_dynamic_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h:64:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_UKERNEL_FUNCTION’ 64 | DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_UKERNEL_FUNCTION(pytorch_q8gemm_dq_ukernel_4x4c2__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-sse2.c [ 16%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/batch_box_cox_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/batch_box_cox_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/batch_box_cox_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/batch_box_cox_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/batch_box_cox_avx2.cc /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-sse2.c:25:9: warning: argument 10 of type ‘const union pytorch_qnnp_conv_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 24 | const union pytorch_qnnp_conv_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 25 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm/4x4c2-sse2.c:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h:32:58: note: previously declared as ‘const union pytorch_qnnp_conv_quantization_params *’ 32 | const union pytorch_qnnp_conv_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm.h:45:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8GEMM_UKERNEL_FUNCTION’ 45 | DECLARE_PYTORCH_Q8GEMM_UKERNEL_FUNCTION(pytorch_q8gemm_ukernel_4x4c2__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 16%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c [ 17%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/common_avx2.cc In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.h:44:9: warning: argument 11 of type ‘const struct pytorch_qnnp_conv_dynamic_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 43 | const struct pytorch_qnnp_conv_dynamic_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.h:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h:78:11: note: previously declared as ‘const struct pytorch_qnnp_conv_dynamic_quantization_params *’ 77 | const struct pytorch_qnnp_conv_dynamic_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h:121:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_SPARSE_PACKEDA_UKERNEL_FUNCTION’ 121 | DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_SPARSE_PACKEDA_UKERNEL_FUNCTION( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.h:44:9: warning: argument 11 of type ‘const struct pytorch_qnnp_conv_dynamic_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 43 | const struct pytorch_qnnp_conv_dynamic_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h:78:11: note: previously declared as ‘const struct pytorch_qnnp_conv_dynamic_quantization_params *’ 77 | const struct pytorch_qnnp_conv_dynamic_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h:124:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_SPARSE_PACKEDA_UKERNEL_FUNCTION’ 124 | DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_SPARSE_PACKEDA_UKERNEL_FUNCTION( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.h:44:9: warning: argument 11 of type ‘const struct pytorch_qnnp_conv_dynamic_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 43 | const struct pytorch_qnnp_conv_dynamic_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 44 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h:78:11: note: previously declared as ‘const struct pytorch_qnnp_conv_dynamic_quantization_params *’ 77 | const struct pytorch_qnnp_conv_dynamic_quantization_params* \ | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 78 | quantization_params); | ^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8gemm_sparse.h:127:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_SPARSE_PACKEDA_UKERNEL_FUNCTION’ 127 | DECLARE_PYTORCH_Q8GEMM_DYNAMIC_QUANTIZATION_SPARSE_PACKEDA_UKERNEL_FUNCTION( | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4-packA-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4-packA-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4-packA-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4-packA-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8gemm_sparse/8x4-packA-sse2.c [ 17%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/embedding_lookup_avx2.cc [ 17%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8vadd/sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/q8vadd/sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/q8vadd/sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/q8vadd/sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8vadd/sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8vadd/sse2.c:21:9: warning: argument 5 of type ‘const union pytorch_qnnp_add_quantization_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 20 | const union pytorch_qnnp_add_quantization_params | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 21 | quantization_params[RESTRICT_STATIC 1]) { | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/q8vadd/sse2.c:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8vadd.h:27:57: note: previously declared as ‘const union pytorch_qnnp_add_quantization_params *’ 27 | const union pytorch_qnnp_add_quantization_params* quantization_params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/q8vadd.h:30:1: note: in expansion of macro ‘DECLARE_PYTORCH_Q8VADD_UKERNEL_FUNCTION’ 30 | DECLARE_PYTORCH_Q8VADD_UKERNEL_FUNCTION(pytorch_q8vadd_ukernel__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8clamp/sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8clamp/sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/u8clamp/sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/u8clamp/sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8clamp/sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8clamp/sse2.c:19:49: warning: argument 4 of type ‘const union pytorch_qnnp_u8_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 19 | const union pytorch_qnnp_u8_clamping_params params[RESTRICT_STATIC 1]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8clamp/sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8clamp.h:26:52: note: previously declared as ‘const union pytorch_qnnp_u8_clamping_params *’ 26 | const union pytorch_qnnp_u8_clamping_params* params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8clamp.h:29:1: note: in expansion of macro ‘DECLARE_PYTORCH_U8CLAMP_UKERNEL_FUNCTION’ 29 | DECLARE_PYTORCH_U8CLAMP_UKERNEL_FUNCTION(pytorch_u8clamp_ukernel__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 17%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/16x9p8q-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/16x9p8q-sse2.c:23:49: warning: argument 8 of type ‘const union pytorch_qnnp_u8_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union pytorch_qnnp_u8_clamping_params params[RESTRICT_STATIC 1]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/16x9p8q-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8maxpool.h:30:52: note: previously declared as ‘const union pytorch_qnnp_u8_clamping_params *’ 30 | const union pytorch_qnnp_u8_clamping_params* params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8maxpool.h:33:1: note: in expansion of macro ‘DECLARE_PYTORCH_U8MAXPOOL_UKERNEL_FUNCTION’ 33 | DECLARE_PYTORCH_U8MAXPOOL_UKERNEL_FUNCTION(pytorch_u8maxpool_ukernel_16x9p8q__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 18%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/sub16-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/sub16-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/sub16-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/sub16-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/sub16-sse2.c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/sub16-sse2.c:23:49: warning: argument 8 of type ‘const union pytorch_qnnp_u8_clamping_params[restrict static 1]’ with mismatched bound [-Warray-parameter=] 23 | const union pytorch_qnnp_u8_clamping_params params[RESTRICT_STATIC 1]) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8maxpool/sub16-sse2.c:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8maxpool.h:30:52: note: previously declared as ‘const union pytorch_qnnp_u8_clamping_params *’ 30 | const union pytorch_qnnp_u8_clamping_params* params); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/qnnpack/u8maxpool.h:35:1: note: in expansion of macro ‘DECLARE_PYTORCH_U8MAXPOOL_UKERNEL_FUNCTION’ 35 | DECLARE_PYTORCH_U8MAXPOOL_UKERNEL_FUNCTION(pytorch_u8maxpool_ukernel_sub16__sse2) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [ 18%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8rmax/sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/u8rmax/sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/u8rmax/sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/u8rmax/sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/u8rmax/sse2.c [ 18%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x2-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x2-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x2-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x2-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x2-sse2.c [ 18%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x3-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x3-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x3-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x3-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x3-sse2.c [ 18%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x4-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x4-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x4-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x4-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/x4-sse2.c [ 18%] Building C object confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/xm-sse2.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/ccache /usr/lib64/ccache/gcc -DFXDIV_USE_INLINE_ASSEMBLY=0 -DPYTORCH_QNNPACK_RUNTIME_QUANTIZATION=1 -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FXdiv/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/psimd/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -std=gnu11 -fPIC -pthread -O2 -msse2 -MD -MT confu-deps/pytorch_qnnpack/CMakeFiles/pytorch_qnnpack.dir/src/x8zip/xm-sse2.c.o -MF CMakeFiles/pytorch_qnnpack.dir/src/x8zip/xm-sse2.c.o.d -o CMakeFiles/pytorch_qnnpack.dir/src/x8zip/xm-sse2.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src/x8zip/xm-sse2.c [ 18%] Linking CXX static library ../../lib/libpytorch_qnnpack.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/cmake -P CMakeFiles/pytorch_qnnpack.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/confu-deps/pytorch_qnnpack && /usr/bin/cmake -E cmake_link_script CMakeFiles/pytorch_qnnpack.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libpytorch_qnnpack.a CMakeFiles/pytorch_qnnpack.dir/src/init.c.o CMakeFiles/pytorch_qnnpack.dir/src/add.c.o "CMakeFiles/pytorch_qnnpack.dir/src/average-pooling.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/channel-shuffle.c.o" CMakeFiles/pytorch_qnnpack.dir/src/clamp.c.o "CMakeFiles/pytorch_qnnpack.dir/src/conv-prepack.cc.o" CMakeFiles/pytorch_qnnpack.dir/src/convolution.c.o CMakeFiles/pytorch_qnnpack.dir/src/deconvolution.c.o "CMakeFiles/pytorch_qnnpack.dir/src/fc-prepack.cc.o" "CMakeFiles/pytorch_qnnpack.dir/src/fully-connected.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/fully-connected-sparse.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/global-average-pooling.c.o" CMakeFiles/pytorch_qnnpack.dir/src/hardsigmoid.c.o CMakeFiles/pytorch_qnnpack.dir/src/hardswish.c.o "CMakeFiles/pytorch_qnnpack.dir/src/leaky-relu.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/max-pooling.c.o" CMakeFiles/pytorch_qnnpack.dir/src/sigmoid.c.o CMakeFiles/pytorch_qnnpack.dir/src/softargmax.c.o CMakeFiles/pytorch_qnnpack.dir/src/tanh.c.o "CMakeFiles/pytorch_qnnpack.dir/src/operator-delete.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/conv-run.cc.o" "CMakeFiles/pytorch_qnnpack.dir/src/deconv-run.cc.o" "CMakeFiles/pytorch_qnnpack.dir/src/fc-run.cc.o" "CMakeFiles/pytorch_qnnpack.dir/src/fc-unpack.cc.o" "CMakeFiles/pytorch_qnnpack.dir/src/fc-dynamic-run.cc.o" CMakeFiles/pytorch_qnnpack.dir/src/indirection.c.o "CMakeFiles/pytorch_qnnpack.dir/src/operator-run.c.o" CMakeFiles/pytorch_qnnpack.dir/src/u8lut32norm/scalar.c.o CMakeFiles/pytorch_qnnpack.dir/src/x8lut/scalar.c.o "CMakeFiles/pytorch_qnnpack.dir/src/sgemm/6x8-psimd.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/mp8x9p8q-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8x9-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8avgpool/up8xm-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8conv/4x4c2-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x25-sse2-per-channel.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/mp8x27-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8dwconv/up8x9-sse2-per-channel.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/mp8x7p7q-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8x7-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gavgpool/up8xm-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/2x4c8-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-dq-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gemm/4x4c2-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4c1x4-dq-packedA-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/q8gemm_sparse/8x4-packA-sse2.c.o" CMakeFiles/pytorch_qnnpack.dir/src/q8vadd/sse2.c.o CMakeFiles/pytorch_qnnpack.dir/src/u8clamp/sse2.c.o "CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/16x9p8q-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/u8maxpool/sub16-sse2.c.o" CMakeFiles/pytorch_qnnpack.dir/src/u8rmax/sse2.c.o "CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x2-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x3-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/x8zip/x4-sse2.c.o" "CMakeFiles/pytorch_qnnpack.dir/src/x8zip/xm-sse2.c.o" /usr/bin/ranlib ../../lib/libpytorch_qnnpack.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 18%] Built target pytorch_qnnpack /usr/bin/gmake -f caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/build.make caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/build.make caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 18%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx512f -mavx512dq -mavx512vl -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/common_avx512.cc [ 18%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx512.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/cmake -P CMakeFiles/Caffe2_perfkernels_avx512.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/cmake -E cmake_link_script CMakeFiles/Caffe2_perfkernels_avx512.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libCaffe2_perfkernels_avx512.a CMakeFiles/Caffe2_perfkernels_avx512.dir/common_avx512.cc.o /usr/bin/ranlib ../../lib/libCaffe2_perfkernels_avx512.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 18%] Built target Caffe2_perfkernels_avx512 /usr/bin/gmake -f third_party/onnx/CMakeFiles/onnx_proto.dir/build.make third_party/onnx/CMakeFiles/onnx_proto.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/CMakeFiles/onnx_proto.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/onnx/CMakeFiles/onnx_proto.dir/build.make third_party/onnx/CMakeFiles/onnx_proto.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 18%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch.pb.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_API="__attribute__((__visibility__(\"default\")))" -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DCAFFE2_USE_GLOO -MD -MT third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch.pb.cc.o -MF CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch.pb.cc.o.d -o CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch.pb.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.pb.cc [ 18%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_avx2.cc [ 18%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc [ 18%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch.pb.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_API="__attribute__((__visibility__(\"default\")))" -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DCAFFE2_USE_GLOO -MD -MT third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch.pb.cc.o -MF CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch.pb.cc.o.d -o CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch.pb.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-operators_onnx_torch.pb.cc [ 18%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/embedding_lookup_idx_avx2.cc [ 18%] Building CXX object third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-data_onnx_torch.pb.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_API="__attribute__((__visibility__(\"default\")))" -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++17 -fPIC -fvisibility=hidden -fvisibility-inlines-hidden -DCAFFE2_USE_GLOO -MD -MT third_party/onnx/CMakeFiles/onnx_proto.dir/onnx/onnx-data_onnx_torch.pb.cc.o -MF CMakeFiles/onnx_proto.dir/onnx/onnx-data_onnx_torch.pb.cc.o.d -o CMakeFiles/onnx_proto.dir/onnx/onnx-data_onnx_torch.pb.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx-data_onnx_torch.pb.cc [ 19%] Linking CXX static library ../../lib/libonnx_proto.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/cmake -P CMakeFiles/onnx_proto.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/cmake -E cmake_link_script CMakeFiles/onnx_proto.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libonnx_proto.a CMakeFiles/onnx_proto.dir/onnx/onnx_onnx_torch.pb.cc.o "CMakeFiles/onnx_proto.dir/onnx/onnx-operators_onnx_torch.pb.cc.o" "CMakeFiles/onnx_proto.dir/onnx/onnx-data_onnx_torch.pb.cc.o" /usr/bin/ranlib ../../lib/libonnx_proto.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 19%] Built target onnx_proto /usr/bin/gmake -f third_party/onnx/CMakeFiles/onnx.dir/build.make third_party/onnx/CMakeFiles/onnx.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/CMakeFiles/onnx.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f third_party/onnx/CMakeFiles/onnx.dir/build.make third_party/onnx/CMakeFiles/onnx.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 19%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o -MF CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o.d -o CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/onnx/torch_ops/defs.cc [ 19%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/lstm_unit_cpu_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/lstm_unit_cpu_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/lstm_unit_cpu_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/lstm_unit_cpu_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/lstm_unit_cpu_avx2.cc [ 19%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/math_cpu_avx2.cc [ 19%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o -MF CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o.d -o CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/onnx/torch_ops/schema.cc [ 19%] Building CXX object caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_EXTERNAL_MZCRC -D_FILE_OFFSET_BITS=64 -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -mavx2 -mfma -mavx -mf16c -MD -MT caffe2/perfkernels/CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o -MF CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o.d -o CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/typed_axpy_avx2.cc [ 19%] Linking CXX static library ../../lib/libCaffe2_perfkernels_avx2.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/cmake -P CMakeFiles/Caffe2_perfkernels_avx2.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/perfkernels && /usr/bin/cmake -E cmake_link_script CMakeFiles/Caffe2_perfkernels_avx2.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libCaffe2_perfkernels_avx2.a CMakeFiles/Caffe2_perfkernels_avx2.dir/adagrad_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/batch_box_cox_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/common_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_fused_8bit_rowwise_idx_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/embedding_lookup_idx_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/lstm_unit_cpu_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/math_cpu_avx2.cc.o CMakeFiles/Caffe2_perfkernels_avx2.dir/typed_axpy_avx2.cc.o /usr/bin/ranlib ../../lib/libCaffe2_perfkernels_avx2.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 19%] Built target Caffe2_perfkernels_avx2 [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/checker.cc.o -MF CMakeFiles/onnx.dir/onnx/checker.cc.o.d -o CMakeFiles/onnx.dir/onnx/checker.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/checker.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/common/assertions.cc.o -MF CMakeFiles/onnx.dir/onnx/common/assertions.cc.o.d -o CMakeFiles/onnx.dir/onnx/common/assertions.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/common/assertions.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o -MF CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o.d -o CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/common/interned_strings.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o -MF CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o.d -o CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/common/ir_pb_converter.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o -MF CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o.d -o CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/common/model_helpers.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/path.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/common/path.cc.o -MF CMakeFiles/onnx.dir/onnx/common/path.cc.o.d -o CMakeFiles/onnx.dir/onnx/common/path.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/common/path.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/common/status.cc.o -MF CMakeFiles/onnx.dir/onnx/common/status.cc.o.d -o CMakeFiles/onnx.dir/onnx/common/status.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/common/status.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/attr_proto_util.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/controlflow/defs.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/controlflow/old.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/data_type_utils.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/function.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/function.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/function.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/function.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/generator/defs.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/generator/old.cc [ 20%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/logical/defs.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/logical/old.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/math/defs.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/math/old.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/utils.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/math/utils.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/math/utils.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/math/utils.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/math/utils.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/nn/defs.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/nn/old.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/object_detection/defs.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/object_detection/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/object_detection/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/object_detection/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/object_detection/old.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/optional/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/optional/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/optional/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/optional/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/optional/defs.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/optional/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/optional/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/optional/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/optional/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/optional/old.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/parser.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/parser.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/parser.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/parser.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/printer.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/printer.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/printer.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/printer.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/printer.cc [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/quantization/defs.cc In file included from /usr/include/google/protobuf/implicit_weak_message.h:39, from /usr/include/google/protobuf/parse_context.h:42, from /usr/include/google/protobuf/map_type_handler.h:34, from /usr/include/google/protobuf/map.h:60, from /usr/include/google/protobuf/generated_message_table_driven.h:34, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.pb.h:26, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx.pb.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/onnx_pb.h:53, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc:12: In member function ‘google::protobuf::RepeatedField::Add(double const&)’, inlined from ‘onnx_torch::TensorProto::_internal_add_double_data(double)’ at /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.pb.h:9603:19, inlined from ‘onnx_torch::TensorProto::add_double_data(double)’ at /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.pb.h:9606:28, inlined from ‘onnx_torch::OnnxParser::Parse(onnx_torch::TensorProto&, onnx_torch::TypeProto const&)’ at /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc:354:38: /usr/include/google/protobuf/repeated_field.h:682:22: warning: ‘dblval’ may be used uninitialized [-Wmaybe-uninitialized] 682 | elements()[size] = value; | ~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc: In member function ‘onnx_torch::OnnxParser::Parse(onnx_torch::TensorProto&, onnx_torch::TypeProto const&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc:323:10: note: ‘dblval’ was declared here 323 | double dblval; | ^~~~~~ In member function ‘google::protobuf::RepeatedField::Add(float const&)’, inlined from ‘onnx_torch::TensorProto::_internal_add_float_data(float)’ at /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.pb.h:9111:18, inlined from ‘onnx_torch::TensorProto::add_float_data(float)’ at /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx/onnx/onnx_onnx_torch.pb.h:9114:27, inlined from ‘onnx_torch::OnnxParser::Parse(onnx_torch::TensorProto&, onnx_torch::TypeProto const&)’ at /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc:350:37: /usr/include/google/protobuf/repeated_field.h:682:22: warning: ‘floatval’ may be used uninitialized [-Wmaybe-uninitialized] 682 | elements()[size] = value; | ~~~~~~~~~~~~~~~~~^~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc: In member function ‘onnx_torch::OnnxParser::Parse(onnx_torch::TensorProto&, onnx_torch::TypeProto const&)’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/parser.cc:322:9: note: ‘floatval’ was declared here 322 | float floatval; | ^~~~~~~~ [ 21%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/quantization/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/quantization/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/quantization/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/quantization/old.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/reduction/defs.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/reduction/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/reduction/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/reduction/old.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/utils.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/reduction/utils.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/reduction/utils.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/reduction/utils.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/reduction/utils.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/rnn/defs.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/rnn/old.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/schema.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/schema.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/schema.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/schema.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/sequence/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/sequence/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/sequence/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/sequence/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/sequence/defs.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/shape_inference.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/shape_inference.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/shape_inference.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/shape_inference.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/shape_inference.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/tensor/defs.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/tensor/old.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/tensor/utils.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/tensor_proto_util.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_util.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/tensor_util.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/tensor_util.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/tensor_util.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/tensor_util.cc [ 22%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/traditionalml/defs.cc [ 23%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/traditionalml/old.cc [ 23%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/training/defs.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/defs/training/defs.cc.o -MF CMakeFiles/onnx.dir/onnx/defs/training/defs.cc.o.d -o CMakeFiles/onnx.dir/onnx/defs/training/defs.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/defs/training/defs.cc [ 23%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o -MF CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o.d -o CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/shape_inference/implementation.cc [ 23%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o -MF CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o.d -o CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/version_converter/convert.cc [ 23%] Building CXX object third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/ccache /usr/lib64/ccache/g++ -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -D__STDC_FORMAT_MACROS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -Wnon-virtual-dtor -DNDEBUG -std=gnu++11 -fPIC -DCAFFE2_USE_GLOO -Wall -Wextra -Wno-deprecated-declarations -MD -MT third_party/onnx/CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o -MF CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o.d -o CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx/onnx/version_converter/helper.cc [ 23%] Linking CXX static library ../../lib/libonnx.a cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/cmake -P CMakeFiles/onnx.dir/cmake_clean_target.cmake cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx && /usr/bin/cmake -E cmake_link_script CMakeFiles/onnx.dir/link.txt --verbose=1 /usr/bin/ar qc ../../lib/libonnx.a CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/defs.cc.o CMakeFiles/onnx.dir/__/__/caffe2/onnx/torch_ops/schema.cc.o CMakeFiles/onnx.dir/onnx/checker.cc.o CMakeFiles/onnx.dir/onnx/common/assertions.cc.o CMakeFiles/onnx.dir/onnx/common/interned_strings.cc.o CMakeFiles/onnx.dir/onnx/common/ir_pb_converter.cc.o CMakeFiles/onnx.dir/onnx/common/model_helpers.cc.o CMakeFiles/onnx.dir/onnx/common/path.cc.o CMakeFiles/onnx.dir/onnx/common/status.cc.o CMakeFiles/onnx.dir/onnx/defs/attr_proto_util.cc.o CMakeFiles/onnx.dir/onnx/defs/controlflow/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/controlflow/old.cc.o CMakeFiles/onnx.dir/onnx/defs/data_type_utils.cc.o CMakeFiles/onnx.dir/onnx/defs/function.cc.o CMakeFiles/onnx.dir/onnx/defs/generator/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/generator/old.cc.o CMakeFiles/onnx.dir/onnx/defs/logical/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/logical/old.cc.o CMakeFiles/onnx.dir/onnx/defs/math/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/math/old.cc.o CMakeFiles/onnx.dir/onnx/defs/math/utils.cc.o CMakeFiles/onnx.dir/onnx/defs/nn/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/nn/old.cc.o CMakeFiles/onnx.dir/onnx/defs/object_detection/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/object_detection/old.cc.o CMakeFiles/onnx.dir/onnx/defs/optional/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/optional/old.cc.o CMakeFiles/onnx.dir/onnx/defs/parser.cc.o CMakeFiles/onnx.dir/onnx/defs/printer.cc.o CMakeFiles/onnx.dir/onnx/defs/quantization/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/quantization/old.cc.o CMakeFiles/onnx.dir/onnx/defs/reduction/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/reduction/old.cc.o CMakeFiles/onnx.dir/onnx/defs/reduction/utils.cc.o CMakeFiles/onnx.dir/onnx/defs/rnn/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/rnn/old.cc.o CMakeFiles/onnx.dir/onnx/defs/schema.cc.o CMakeFiles/onnx.dir/onnx/defs/sequence/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/shape_inference.cc.o CMakeFiles/onnx.dir/onnx/defs/tensor/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/tensor/old.cc.o CMakeFiles/onnx.dir/onnx/defs/tensor/utils.cc.o CMakeFiles/onnx.dir/onnx/defs/tensor_proto_util.cc.o CMakeFiles/onnx.dir/onnx/defs/tensor_util.cc.o CMakeFiles/onnx.dir/onnx/defs/traditionalml/defs.cc.o CMakeFiles/onnx.dir/onnx/defs/traditionalml/old.cc.o CMakeFiles/onnx.dir/onnx/defs/training/defs.cc.o CMakeFiles/onnx.dir/onnx/shape_inference/implementation.cc.o CMakeFiles/onnx.dir/onnx/version_converter/convert.cc.o CMakeFiles/onnx.dir/onnx/version_converter/helper.cc.o /usr/bin/ranlib ../../lib/libonnx.a gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 23%] Built target onnx /usr/bin/gmake -f caffe2/CMakeFiles/torch_cpu.dir/build.make caffe2/CMakeFiles/torch_cpu.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 23%] Generating /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/Functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_0.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_1.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_2.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_3.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_4.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_0.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_1.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_2.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_3.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_4.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/LazyNativeFunctions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/RegisterLazy.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/Functions.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/variable_factories.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/LazyIr.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/LazyNonNativeIr.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/LazyNativeFunctions.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_functions_0.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_functions_1.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_functions_2.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_functions_3.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_functions_4.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_variable_methods.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_torch_functions_0.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_torch_functions_1.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_torch_functions_2.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_nn_functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_fft_functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_linalg_functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_nested_functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_sparse_functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_special_functions.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_return_types.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_enum_tag.cpp, /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/python_functions.h, /builddir/build/BUILD/pytorch-v2.0.1/torch/testing/_internal/generated/annotated_fn_args.py cd /builddir/build/BUILD/pytorch-v2.0.1 && /usr/bin/python3 tools/setup_helpers/generate_code.py --native-functions-path aten/src/ATen/native/native_functions.yaml --tags-path aten/src/ATen/native/tags.yaml --force_schema_registration --gen_lazy_ts_backend --per_operator_headers cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/CMakeFiles/torch_cpu.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/CMakeFiles/torch_cpu.dir/build.make caffe2/CMakeFiles/torch_cpu.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [ 23%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/AccumulateType.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/AccumulateType.cpp [ 23%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CPUGeneratorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/CPUGeneratorImpl.cpp [ 23%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ConjugateFallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ConjugateFallback.cpp [ 23%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/Context.cpp [ 23%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DLConvertor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DLConvertor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MathBitsFallback.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ConjugateFallback.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 23%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Dispatch.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Dispatch.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Dispatch.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Dispatch.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/Dispatch.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/Dispatch.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/DynamicLibrary.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DynamicLibrary.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DLConvertor.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DLConvertor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/EmptyTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/EmptyTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/EmptyTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/EmptyTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/EmptyTensor.cpp [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ExpandUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.cpp [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FuncTorchTLS.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FuncTorchTLS.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FuncTorchTLS.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FuncTorchTLS.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FuncTorchTLS.cpp [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalInverses.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalInverses.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalInverses.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalInverses.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalInverses.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalStorageImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalStorageImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalStorageImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalStorageImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalStorageImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalStorageImpl.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalTensorWrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalTensorWrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalTensorWrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalTensorWrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalInverses.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalizeFallbackKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalizeFallbackKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalizeFallbackKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/FunctionalizeFallbackKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalizeFallbackKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedFallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedFallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedFallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedFallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchedFallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalizeFallbackKernel.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedTensorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedTensorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchedTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchedTensorImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchedTensorImpl.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchingRegistrations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchingRegistrations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchingRegistrations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyBatchingRegistrations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchingRegistrations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchedFallback.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchedFallback.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchedFallback.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapMode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapMode.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapMode.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapMode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyVmapMode.cpp [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapTransforms.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapTransforms.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapTransforms.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/LegacyVmapTransforms.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyVmapTransforms.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyVmapTransforms.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyVmapTransforms.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -fno-openmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MapAllocator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/MapAllocator.cpp [ 24%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/MemoryOverlap.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/MemoryOverlap.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NamedTensorUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/LegacyBatchingRegistrations.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NestedTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NestedTensorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NestedTensorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/NestedTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NestedTensorImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelCommon.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelCommon.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNative.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelNative.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelNativeTBB.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelNativeTBB.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelOpenMP.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelOpenMP.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NestedTensorImpl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ParallelThreadPoolNative.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelThreadPoolNative.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelFuture.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelOpenMP.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/PythonTorchFunctionTLS.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/PythonTorchFunctionTLS.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/PythonTorchFunctionTLS.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/PythonTorchFunctionTLS.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/PythonTorchFunctionTLS.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SavedTensorHooks.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SavedTensorHooks.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SavedTensorHooks.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SavedTensorHooks.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SavedTensorHooks.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ScalarOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ParallelThreadPoolNative.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SequenceNumber.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SequenceNumber.cpp [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseCsrTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseCsrTensorImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseCsrTensorImpl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 25%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/SparseTensorUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorGeometry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorGeometry.cpp [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIndexing.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIndexing.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorUtils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorIterator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIterator.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIndexing.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIndexing.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorMeta.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorMeta.cpp [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorNames.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/TensorUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIterator.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalPythonObjects.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalPythonObjects.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalPythonObjects.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalPythonObjects.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalPythonObjects.cpp [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ThreadLocalState.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/Utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorUtils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Version.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/Version.cpp [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/VmapModeRegistrations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/VmapModeRegistrations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/Utils.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ZeroTensorFallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ZeroTensorFallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ZeroTensorFallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/ZeroTensorFallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ZeroTensorFallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/VmapModeRegistrations.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/autocast_mode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/autocast_mode.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ZeroTensorFallback.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ZeroTensorFallback.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ZeroTensorFallback.cpp: In function ‘void at::zeroTensorFallback(const c10::OperatorHandle&, c10::DispatchKeySet, torch::jit::Stack*)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ZeroTensorFallback.cpp:69:25: warning: possibly dangling reference to a temporary [-Wdangling-reference] 69 | const Tensor& tensor = tensors[j]; | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ZeroTensorFallback.cpp:69:43: note: the temporary was destroyed at the end of the full expression ‘tensors.c10::List::operator[](((long unsigned int)j)).c10::impl::ListElementReference > >::operator std::conditional_t()’ 69 | const Tensor& tensor = tensors[j]; | ^ [ 26%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/cpu/FlushDenormal.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/cpu/FlushDenormal.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CPUGuardImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/detail/CPUGuardImpl.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/CUDAHooksInterface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/detail/CUDAHooksInterface.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/HIPHooksInterface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/detail/HIPHooksInterface.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MPSHooksInterface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MPSHooksInterface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MPSHooksInterface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MPSHooksInterface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/detail/MPSHooksInterface.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/MetaGuardImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/detail/MetaGuardImpl.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/ORTHooksInterface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/ORTHooksInterface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/ORTHooksInterface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/detail/ORTHooksInterface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/detail/ORTHooksInterface.cpp [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/ADInterpreters.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/ADInterpreters.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/ADInterpreters.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/ADInterpreters.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/ADInterpreters.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/ADInterpreters.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/ADInterpreters.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesActivation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesActivation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesActivation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesActivation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesActivation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/autocast_mode.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesActivation.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesConvolution.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesConvolution.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesConvolution.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesConvolution.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesConvolution.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesBinaryOps.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDecompositions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDecompositions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDecompositions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDecompositions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesDecompositions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesConvolution.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDynamic.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDynamic.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDynamic.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesDynamic.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesDynamic.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesDynamic.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesDynamic.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesFactory.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesFactory.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesFactory.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesFactory.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesFactory.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesDecompositions.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesHelper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesHelper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesHelper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesHelper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesFactory.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 27%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLoss.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLoss.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLoss.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesLoss.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesLoss.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesLinearAlgebra.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesModules.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesModules.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesModules.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesModules.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesModules.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesLoss.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesNorm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesNorm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesNorm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesNorm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesNorm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesModules.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesPooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesPooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesPooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesPooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesPooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesNorm.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesRandomness.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesRandomness.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesRandomness.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesRandomness.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesRandomness.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesPooling.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesReduceOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesReduceOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesReduceOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesReduceOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesReduceOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesRandomness.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesRandomness.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesScatterOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesScatterOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesScatterOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesScatterOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesScatterOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesReduceOps.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesScatterOps.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesViews.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesViews.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesViews.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchRulesViews.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesViews.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesUnaryOps.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedFallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedFallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedFallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedFallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchedFallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesViews.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchRulesHelper.h:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedTensorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedTensorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/BatchedTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchedTensorImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchedFallback.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchedFallback.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/TensorWrapper.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchedFallback.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/DynamicLayer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/DynamicLayer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/DynamicLayer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/DynamicLayer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/BatchedTensorImpl.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/FunctionalizeInterpreter.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/FunctionalizeInterpreter.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 28%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/Interpreter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/Interpreter.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/Interpreter.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/Interpreter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyVmapTransforms.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyVmapTransforms.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyVmapTransforms.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/LegacyVmapTransforms.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/LegacyVmapTransforms.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/LegacyVmapTransforms.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PlumbingHelper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PlumbingHelper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PlumbingHelper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PlumbingHelper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/PlumbingHelper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/LegacyBatchingRegistrations.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/TensorWrapper.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/PlumbingHelper.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/TensorWrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/TensorWrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/TensorWrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/TensorWrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/TensorWrapper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/TensorWrapper.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/TensorWrapper.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapInterpreter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapInterpreter.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapInterpreter.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapInterpreter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/VmapInterpreter.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/PyTorchOperatorHacks.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapModeRegistrations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapModeRegistrations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapModeRegistrations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/functorch/VmapModeRegistrations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/VmapModeRegistrations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/VmapInterpreter.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/VmapInterpreter.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/record_function.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/VmapModeRegistrations.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/Interpreter.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/DynamicLayer.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/PlumbingHelper.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/functorch/VmapModeRegistrations.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenGeneral.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ATenGeneral.cpp [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/BackendSelectFallbackKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/BackendSelectFallbackKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypeProperties.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypeProperties.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypeProperties.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypeProperties.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/DeprecatedTypeProperties.cpp [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/DeprecatedTypePropertiesRegistry.cpp [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dict.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dict.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dict.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dict.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/BackendSelectFallbackKernel.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 29%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dimname.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dimname.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dimname.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Dimname.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dimname.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Formatting.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Formatting.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Formatting.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Formatting.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Formatting.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Generator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Generator.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Generator.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Generator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Generator.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/List.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/List.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/List.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/List.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedRegistrations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedRegistrations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedRegistrations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedRegistrations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/NamedRegistrations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/NamedTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/NamedTensor.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonFallbackKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonFallbackKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonFallbackKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonFallbackKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/PythonFallbackKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/NamedRegistrations.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/PythonFallbackKernel.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/PythonFallbackKernel.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Range.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Range.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Range.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Range.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Range.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Tensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Tensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Tensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Tensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Tensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/PythonOpRegistrationTrampoline.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/PythonOpRegistrationTrampoline.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TorchDispatchUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TorchDispatchUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TorchDispatchUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TorchDispatchUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Tensor.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableFallbackKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableFallbackKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableFallbackKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableFallbackKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/VariableFallbackKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableHooksInterface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableHooksInterface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableHooksInterface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/VariableHooksInterface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/VariableHooksInterface.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Vitals.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Vitals.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Vitals.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/Vitals.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Vitals.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/VariableFallbackKernel.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/adaption.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/adaption.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/adaption.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/adaption.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/adaption.cpp [ 30%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/blob.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/blob.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/blob.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/blob.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/blob.cpp [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/boxing/KernelFunction.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/boxing/KernelFunction.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/boxing/KernelFunction.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/boxing/KernelFunction.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/adaption.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/adaption.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/class_type.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/class_type.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/class_type.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/class_type.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/custom_class.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/custom_class.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/custom_class.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/custom_class.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/custom_class.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/custom_class.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/Dispatcher.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/Dispatcher.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/Dispatcher.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/Dispatcher.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/ObservedOperators.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/ObservedOperators.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/ObservedOperators.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/ObservedOperators.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/ObservedOperators.cpp [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/OperatorEntry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/OperatorEntry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/OperatorEntry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dispatch/OperatorEntry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dynamic_type.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dynamic_type.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dynamic_type.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/dynamic_type.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dynamic_type.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/function_schema.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/function_schema.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/function_schema.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/function_schema.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dynamic_type.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/interned_strings.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/interned_strings.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/interned_strings.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/interned_strings.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/interned_strings.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ivalue.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ivalue.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ivalue.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ivalue.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.cpp [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/library.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/library.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/library.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/library.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/library.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/library.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/library.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/infer_schema.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/infer_schema.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/infer_schema.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/infer_schema.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 31%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/op_registration.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/op_registration.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/op_registration.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/op_registration/op_registration.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/op_registration.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/operator_name.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/operator_name.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/operator_name.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/operator_name.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/operator_name.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/register_symbols.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/register_symbols.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/register_symbols.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/register_symbols.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/register_symbols.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/tensor_type.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/tensor_type.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/tensor_type.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/tensor_type.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/tensor_type.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/op_registration.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/type.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type_factory.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type_factory.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type_factory.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/type_factory.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/type_factory.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/union_type.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/union_type.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/union_type.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/union_type.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/union_type.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/type.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/error_report.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/error_report.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/error_report.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/error_report.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/error_report.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/function_schema_parser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/function_schema_parser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/function_schema_parser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/function_schema_parser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/function_schema_parser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/union_type.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/lexer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/lexer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/lexer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/lexer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/lexer.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_type_parser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_type_parser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_type_parser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_type_parser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/schema_type_parser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/function_schema_parser.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/function_schema_parser.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/strtod.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/strtod.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/strtod.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/strtod.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/strtod.cpp [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/source_range.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -DTORCH_ASSERT_ONLY_METHOD_OPERATORS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/source_range.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/source_range.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/source_range.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/source_range.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/source_range.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Activation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Activation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/schema_type_parser.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 32%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AdaptiveAveragePooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_adaptive_avg_pool2d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AdaptiveAveragePooling.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Activation.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AdaptiveMaxPooling2d.cpp [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AdaptiveMaxPooling3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_adaptive_avg_pool3d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AdaptiveAveragePooling3d.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AffineGridGenerator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AffineGridGenerator.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AffineGridGenerator.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AffineGridGenerator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AffineGridGenerator.cpp [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AutogradComposite.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AutogradComposite.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AutogradComposite.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AutogradComposite.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AutogradComposite.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AffineGridGenerator.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AveragePool2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/alias.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AutogradComposite.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/AveragePool3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AveragePool3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AveragePool2d.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebra.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebra.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebra.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebra.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BatchLinearAlgebra.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/AveragePool3d.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BatchLinearAlgebra.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BinaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BinaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BinaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BinaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BinaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BatchLinearAlgebraKernel.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Blas.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Blas.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Blas.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Blas.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Blas.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BinaryOps.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BlasKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BlasKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BlasKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/BlasKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BlasKernel.cpp [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Bucketization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Bucketization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Bucketization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Bucketization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Bucketization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Blas.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUBlas.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUBlas.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUBlas.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUBlas.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUBlas.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TypeProperties.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/BucketizationUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Bucketization.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 33%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUFallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUFallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUFallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/CPUFallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUFallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Matmul.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUBlas.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ChanelShuffle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ChanelShuffle.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ChanelShuffle.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ChanelShuffle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ChanelShuffle.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ChanelShuffle.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Col2Im.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Col2Im.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Col2Im.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Col2Im.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Col2Im.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUFallback.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUFallback.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUFallback.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ComparisonUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ComparisonUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ComparisonUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ComparisonUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ComparisonUtils.cpp [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Convolution.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Convolution.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Convolution.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Convolution.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Convolution.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Col2Im.cpp:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ConvolutionMM2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_slow_conv2d_forward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ConvolutionMM2d.cpp:17: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionMM3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ConvolutionMM3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Convolution.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionTBC.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionTBC.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionTBC.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ConvolutionTBC.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ConvolutionTBC.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ConvolutionTBC.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Copy.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Copy.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Copy.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Copy.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Copy.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ConvolutionMM3d.cpp:17: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Correlation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Correlation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Correlation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Correlation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Correlation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Copy.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Cross.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Cross.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Cross.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Cross.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Cross.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Correlation.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/DilatedMaxPool2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Cross.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DilatedMaxPool3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/DilatedMaxPool3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/DilatedMaxPool2d.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DispatchStub.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DispatchStub.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DispatchStub.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/DispatchStub.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/DispatchStub.cpp [ 34%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distance.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distance.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distance.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distance.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Distance.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/DilatedMaxPool3d.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distributions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distributions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distributions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Distributions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Distributions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Distance.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Dropout.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Dropout.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Dropout.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Dropout.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Dropout.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Dropout.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Embedding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Embedding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Embedding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Embedding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Embedding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Distributions.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/EmbeddingBag.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/EmbeddingBag.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/EmbeddingBag.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/EmbeddingBag.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/EmbeddingBag.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Embedding.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Fill.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Fill.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Fill.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Fill.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Fill.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Fill.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ForeachOpsKernels.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ForeachOpsKernels.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ForeachOpsKernels.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ForeachOpsKernels.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ForeachOpsKernels.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/EmbeddingBag.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/FractionalMaxPool2d.cpp [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FractionalMaxPool3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/FractionalMaxPool3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/linalg_vector_norm.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ForeachOpsKernels.cpp:52: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/FractionalMaxPool3d.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GatedLinearUnit.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GatedLinearUnit.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GatedLinearUnit.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GatedLinearUnit.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/GatedLinearUnit.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/zeros.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/FunctionOfAMatrixUtils.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GridSampler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GridSampler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GridSampler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/GridSampler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/GridSampler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/GatedLinearUnit.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Histogram.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Histogram.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Histogram.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Histogram.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Histogram.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/GridSampler.cpp:17: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Im2Col.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Im2Col.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Im2Col.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Im2Col.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Im2Col.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Histogram.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 35%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/IndexingUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/IndexingUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/IndexingUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/IndexingUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/IndexingUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Im2Col.cpp:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Integration.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Integration.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Integration.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Integration.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Integration.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/IndexingUtils.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/IndexingUtils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Itertools.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Itertools.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Itertools.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Itertools.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Itertools.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Itertools.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBatching.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBatching.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBatching.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBatching.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LegacyBatching.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Integration.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBridge.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBridge.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBridge.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LegacyBridge.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LegacyBridge.cpp [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Lerp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Lerp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Lerp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Lerp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Lerp.cpp [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Linear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LegacyBatching.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LinearAlgebra.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LinearAlgebra.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LinearAlgebra.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LinearAlgebra.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebra.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Linear.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Loss.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Loss.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Loss.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Loss.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Loss.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Loss.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossCTC.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossCTC.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossCTC.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossCTC.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossCTC.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebra.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiLabelMargin.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiLabelMargin.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiLabelMargin.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiLabelMargin.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossMultiLabelMargin.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossMultiLabelMargin.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiMargin.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiMargin.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiMargin.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossMultiMargin.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossMultiMargin.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossCTC.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossNLL.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossMultiMargin.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/LossNLL2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossNLL2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIndexing.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossNLL.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxPooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxPooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxPooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxPooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MaxPooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LossNLL2d.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 36%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxUnpooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxUnpooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxUnpooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MaxUnpooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MaxUnpooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MaxPooling.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Memory.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Memory.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Memory.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Memory.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Memory.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MaxUnpooling.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MetaTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MetaTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MetaTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/MetaTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MetaTensor.cpp [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NNPACK.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NNPACK.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NNPACK.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NNPACK.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NNPACK.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_pin_memory.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Memory.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NNPACK.cpp:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NaiveConvolutionTranspose2d.cpp:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveDilatedConvolution.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveDilatedConvolution.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveDilatedConvolution.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NaiveDilatedConvolution.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NaiveDilatedConvolution.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NaiveConvolutionTranspose3d.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NamedTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NamedTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NamedTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NamedTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NamedTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NamedTensor.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NegateFallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NegateFallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NegateFallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/NegateFallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NegateFallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NaiveDilatedConvolution.cpp:18: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Normalization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Normalization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Normalization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Normalization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Normalization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/MathBitsFallback.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/NegateFallback.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Onehot.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Onehot.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Onehot.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Onehot.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Onehot.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Onehot.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PackedSequence.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PackedSequence.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PackedSequence.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PackedSequence.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PackedSequence.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Normalization.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PadNd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PadNd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PadNd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PadNd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PadNd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/cat.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PackedSequence.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PixelShuffle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PixelShuffle.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PixelShuffle.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PixelShuffle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PixelShuffle.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/roll.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorTransformations.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PixelShuffle.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 37%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PointwiseOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PointwiseOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PointwiseOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/PointwiseOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PointwiseOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/PadNd.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Pooling.cpp [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pow.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pow.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pow.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Pow.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Pow.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Pooling.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/QuantizedLinear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-deprecated-declarations -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/QuantizedLinear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/QuantizedLinear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/QuantizedLinear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/QuantizedLinear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Pow.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RNN.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-deprecated-declarations -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RNN.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RNN.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RNN.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/RNN.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtilsMulti.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/QuantizedLinear.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RangeFactories.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RangeFactories.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RangeFactories.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RangeFactories.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/RangeFactories.cpp [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceAllOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceAllOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceAllOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceAllOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceAllOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceAllOps.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReduceOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/RNN.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(std::tuple<_UTypes ...>&&) [with Args = {std::__cxx11::basic_string, std::allocator >, std::vector >, std::vector >, std::vector >, std::vector >, std::allocator > > >}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2389:10: required from ‘c10::IValue c10::ivalue::detail::from_(T&&, std::true_type) [with T = std::tuple, std::allocator >, std::vector >, std::vector >, std::vector >, std::vector >, std::allocator > > > >; std::true_type = std::integral_constant]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2406:23: required from ‘c10::IValue c10::ivalue::from(T&&) [with T = std::tuple, std::allocator >, std::vector >, std::vector >, std::vector >, std::vector >, std::allocator > > > >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class_detail.h:167:41: required from ‘void torch::detail::BoxedProxy::operator()(torch::jit::Stack&, Func&) [with RetType = std::tuple, std::allocator >, std::vector >, std::vector >, std::vector >, std::vector >, std::allocator > > > >; Func = at::native::{anonymous}::&)>; torch::jit::Stack = std::vector]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:407:42: required from ‘torch::jit::Function* torch::class_::defineMethod(std::string, Func, std::string, std::initializer_list) [with Func = at::native::{anonymous}::&)>; CurClass = at::native::{anonymous}::CellParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:160:17: required from ‘torch::class_& torch::class_::def(std::string, Func, std::string, std::initializer_list) [with Func = at::native::{anonymous}::&)>; CurClass = at::native::{anonymous}::CellParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:314:8: required from ‘torch::class_& torch::class_::def_pickle(GetStateFn&&, SetStateFn&&) [with GetStateFn = at::native::{anonymous}::&)>; SetStateFn = at::native::{anonymous}::; CurClass = at::native::{anonymous}::CellParamsBase]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/RNN.cpp:1914:20: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 2095 | std::move(c10::guts::apply(c10::ivalue::Tuple::create, std::move(t)))) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: note: remove ‘std::move’ call [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReflectionPad.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReflectionPad.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReflectionPad.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReflectionPad.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReflectionPad.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceOps.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Repeat.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Repeat.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Repeat.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Repeat.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Repeat.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Repeat.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Repeat.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReplicationPadding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReplicationPadding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReplicationPadding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ReplicationPadding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReplicationPadding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReflectionPad.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Resize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Resize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Resize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Resize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RowwisePrune.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RowwisePrune.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RowwisePrune.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/RowwisePrune.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/RowwisePrune.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/zeros_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReplicationPadding.cpp:19: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Scalar.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Scalar.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Scalar.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Scalar.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Scalar.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/RowwisePrune.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 38%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SegmentReduce.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SegmentReduce.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SegmentReduce.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SegmentReduce.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SegmentReduce.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_local_scalar_dense.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Scalar.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SobolEngineOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SobolEngineOpsUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SobolEngineOps.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOpsUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOpsUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOpsUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SobolEngineOpsUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SobolEngineOpsUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SegmentReduce.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SoftMax.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SoftMax.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SoftMax.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SoftMax.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SoftMax.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SobolEngineOpsUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SobolEngineOpsUtils.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Sorting.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Sorting.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Sorting.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Sorting.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Sorting.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SoftMax.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SpectralOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SpectralOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SpectralOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SpectralOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SpectralOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Sorting.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SummaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SummaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SummaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/SummaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SummaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorSubclassLikeUtils.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SpectralOps.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorAdvancedIndexing.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorAdvancedIndexing.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorAdvancedIndexing.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorAdvancedIndexing.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexing.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/zeros.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/SummaryOps.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorCompare.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorCompare.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorCompare.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorCompare.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorCompare.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorCompare.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorConversions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorConversions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorConversions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorConversions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorConversions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexing.cpp:51: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexing.cpp:74: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexingUtils.h: In function ‘std::tuple at::native::canDispatchToMaskedFill(const at::Tensor&, torch::List >&, const at::Tensor&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexingUtils.h:37:31: warning: redundant move in initialization [-Wredundant-move] 37 | Tensor index = std::move(*i); | ~~~~~~~~~^~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexingUtils.h:37:31: note: remove ‘std::move’ call [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorFactories.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorFactories.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorFactories.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorFactories.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorFactories.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorConversions.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorIteratorReduce.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorIteratorReduce.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorIteratorReduce.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorIteratorReduce.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorIteratorReduce.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorFactories.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorFactories.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorProperties.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorProperties.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorProperties.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorProperties.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorProperties.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorIteratorReduce.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorShape.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorShape.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorShape.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorShape.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorShape.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorProperties.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorTransformations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorTransformations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorTransformations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TensorTransformations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorTransformations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/roll.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorTransformations.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorTransformations.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 39%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TestOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TestOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TestOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TestOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TestOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TestOps.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TriangularOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TriangularOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TriangularOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TriangularOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TriangularOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorShape.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TypeProperties.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TypeProperties.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TypeProperties.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/TypeProperties.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TypeProperties.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TriangularOpsUtils.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TriangularOps.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TypeProperties.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TypeProperties.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Unfold2d.cpp [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unfold3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Unfold3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnaryOps.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnfoldBackward.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnfoldBackward.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnfoldBackward.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UnfoldBackward.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnfoldBackward.cpp [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unique.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unique.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unique.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/Unique.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Unique.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnfoldBackward.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnfoldBackward.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSample.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSample.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSample.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSample.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSample.cpp [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBicubic2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBicubic2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBicubic2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBicubic2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleBicubic2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_upsample_bicubic2d_aa.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleBicubic2d.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBilinear2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBilinear2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBilinear2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleBilinear2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleBilinear2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Unique.cpp:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleLinear1d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleLinear1d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleLinear1d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleLinear1d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleLinear1d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_upsample_bilinear2d_aa.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleBilinear2d.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest1d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest1d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest1d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest1d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleNearest1d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/upsample_linear1d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleLinear1d.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleNearest2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_upsample_nearest_exact1d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleNearest1d.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 40%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleNearest3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleNearest3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_upsample_nearest_exact2d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleNearest2d.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleTrilinear3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleTrilinear3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleTrilinear3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/UpSampleTrilinear3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleTrilinear3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_upsample_nearest_exact3d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleNearest3d.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/VariableMethodStubs.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/VariableMethodStubs.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/VariableMethodStubs.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/VariableMethodStubs.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/VariableMethodStubs.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/upsample_trilinear3d.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UpSampleTrilinear3d.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/WeightNorm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/WeightNorm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/WeightNorm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/WeightNorm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/WeightNorm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/alias.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/VariableMethodStubs.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/group_norm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/group_norm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/group_norm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/group_norm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/group_norm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/WeightNorm.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/layer_norm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/layer_norm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/layer_norm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/layer_norm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/layer_norm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/group_norm.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/prim_native_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/prim_native_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/prim_native_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/prim_native_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/prim_native_functions.cpp [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/verbose_wrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/verbose_wrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/verbose_wrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/verbose_wrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/verbose_wrapper.cpp [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/library.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/library.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/library.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/library.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/library.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/layer_norm.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/library.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(std::tuple<_UTypes ...>&&) [with Args = {long int, c10::optional, long int, long int, at::Tensor, at::Tensor, bool, at::Tensor, at::Tensor, at::Tensor, long int, long int}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2389:10: required from ‘c10::IValue c10::ivalue::detail::from_(T&&, std::true_type) [with T = std::tuple, long int, long int, at::Tensor, at::Tensor, bool, at::Tensor, at::Tensor, at::Tensor, long int, long int>; std::true_type = std::integral_constant]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2406:23: required from ‘c10::IValue c10::ivalue::from(T&&) [with T = std::tuple, long int, long int, at::Tensor, at::Tensor, bool, at::Tensor, at::Tensor, at::Tensor, long int, long int>]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class_detail.h:167:41: required from ‘void torch::detail::BoxedProxy::operator()(torch::jit::Stack&, Func&) [with RetType = std::tuple, long int, long int, at::Tensor, at::Tensor, bool, at::Tensor, at::Tensor, at::Tensor, long int, long int>; Func = ao::sparse::register_linear_params()::&)>; torch::jit::Stack = std::vector]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:407:42: required from ‘torch::jit::Function* torch::class_::defineMethod(std::string, Func, std::string, std::initializer_list) [with Func = ao::sparse::register_linear_params()::&)>; CurClass = ao::sparse::LinearPackedParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:160:17: required from ‘torch::class_& torch::class_::def(std::string, Func, std::string, std::initializer_list) [with Func = ao::sparse::register_linear_params()::&)>; CurClass = ao::sparse::LinearPackedParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:314:8: required from ‘torch::class_& torch::class_::def_pickle(GetStateFn&&, SetStateFn&&) [with GetStateFn = ao::sparse::register_linear_params()::&)>; SetStateFn = ao::sparse::register_linear_params()::; CurClass = ao::sparse::LinearPackedParamsBase]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/fbgemm_utils.cpp:17:22: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 2095 | std::move(c10::guts::apply(c10::ivalue::Tuple::create, std::move(t)))) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: note: remove ‘std::move’ call [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_dynamic.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_deserialize.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 41%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_prepack.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_serialize.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ParamUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ParamUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ParamUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ParamUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/ParamUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/ParamUtils.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SoftMax.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SoftMax.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SoftMax.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SoftMax.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SoftMax.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ao_sparse/quantized/cpu/qlinear_unpack.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SoftMax.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlas.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlas.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlas.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlas.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBlas.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBlas.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlasImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlasImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlasImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseBlasImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBlasImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseCsrTensorUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBlasImpl.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseCsrTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionCommon.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseBinaryOpIntersectionKernel.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseCsrTensorUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseCsrTensor.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseFactories.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseFactories.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseFactories.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseFactories.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseFactories.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_unique.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseFactories.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseMatMul.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseMatMul.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseMatMul.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseMatMul.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseMatMul.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseMatMul.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseCsrTensorMath.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensorMath.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensorMath.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensorMath.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseTensorMath.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseTensorMath.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseTensor.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseUnaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseUnaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseUnaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/SparseUnaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseUnaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseUnaryOps.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorIndexing.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/SparseTensorMath.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 42%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorAliases.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorAliases.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorAliases.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorAliases.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorAliases.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_sparse_coo_tensor_with_dims_and_tensors.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/ValidateCompressedIndicesCommon.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/sparse/ValidateCompressedIndicesKernel.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBackward.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBackward.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBackward.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBackward.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorBackward.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorAliases.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorBackward.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorFactories.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorFactories.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorFactories.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorFactories.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorFactories.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorBinaryOps.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMath.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMath.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMath.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMath.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorMath.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorFactories.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMatmul.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMatmul.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMatmul.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorMatmul.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorMatmul.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorMath.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorMatmul.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorUnaryOps.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/nested/NestedTensorUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorTransformerFunctions.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/AffineQuantizer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/cat.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorUtils.h:17, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/nested/NestedTensorUtils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/AffineQuantizerBase.cpp [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/Copy.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/Copy.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/Copy.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/Copy.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/Copy.cpp [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/Copy.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/FakeQuantPerChannelAffine.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 43%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/QTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/QTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/QTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/QTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/QTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/FakeQuantPerTensorAffine.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/QTensor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorCompare.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorCompare.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorCompare.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorCompare.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorCompare.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorAdvancedIndexing.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexingUtils.h: In function ‘std::tuple at::native::canDispatchToMaskedFill(const at::Tensor&, torch::List >&, const at::Tensor&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexingUtils.h:37:31: warning: redundant move in initialization [-Wredundant-move] 37 | Tensor index = std::move(*i); | ~~~~~~~~~^~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexingUtils.h:37:31: note: remove ‘std::move’ call [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorFactories.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorFactories.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorFactories.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/TensorFactories.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorFactories.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorCompare.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/AdaptiveAveragePooling.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/TensorFactories.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QnnpackUtils.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/AveragePool3d.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QnnpackUtils.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/AveragePool2d.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/ChannelShuffle.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/BinaryOps.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/IntReprQuant.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/cpp_custom_type_hack.h:57, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/LinearUnpackImpl.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Normalization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Normalization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Normalization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Normalization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/Normalization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/MakePerTensorQuantizedTensor.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Pooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Pooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Pooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Pooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/Pooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/Normalization.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 44%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/Pooling.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/RuyUtils.cpp [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Sorting.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Sorting.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Sorting.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/Sorting.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/Sorting.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/ReduceOps.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/Sorting.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorShape.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorShape.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorShape.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/TensorShape.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/TensorShape.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/TensorOperators.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/UpSampleBilinear2d.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/TensorShape.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/UpSampleNearest2d.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/XnnpackUtils.cpp [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_empty_affine_quantized.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/UpSampleNearest3d.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/_fake_quantize_per_tensor_affine_cachemask_tensor_qparams.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fused_obs_fake_quant.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/init_qnnpack.cpp [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qclamp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qclamp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qclamp.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(std::tuple<_UTypes ...>&&) [with Args = {at::Tensor, c10::optional}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2389:10: required from ‘c10::IValue c10::ivalue::detail::from_(T&&, std::true_type) [with T = std::tuple >; std::true_type = std::integral_constant]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2406:23: required from ‘c10::IValue c10::ivalue::from(T&&) [with T = std::tuple >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class_detail.h:167:41: required from ‘void torch::detail::BoxedProxy::operator()(torch::jit::Stack&, Func&) [with RetType = std::tuple >; Func = torch::detail::WrapMethod > (LinearPackedParamsBase::*)()>; torch::jit::Stack = std::vector]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:407:42: required from ‘torch::jit::Function* torch::class_::defineMethod(std::string, Func, std::string, std::initializer_list) [with Func = torch::detail::WrapMethod > (LinearPackedParamsBase::*)()>; CurClass = LinearPackedParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:160:17: required from ‘torch::class_& torch::class_::def(std::string, Func, std::string, std::initializer_list) [with Func = std::tuple > (LinearPackedParamsBase::*)(); CurClass = LinearPackedParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:508:19: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 2095 | std::move(c10::guts::apply(c10::ivalue::Tuple::create, std::move(t)))) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: note: remove ‘std::move’ call /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(std::tuple<_UTypes ...>&&) [with Args = {long int, std::vector >, std::vector >, std::vector >}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2389:10: required from ‘c10::IValue c10::ivalue::detail::from_(T&&, std::true_type) [with T = std::tuple >, std::vector >, std::vector > >; std::true_type = std::integral_constant]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2406:23: required from ‘c10::IValue c10::ivalue::from(T&&) [with T = std::tuple >, std::vector >, std::vector > >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class_detail.h:167:41: required from ‘void torch::detail::BoxedProxy::operator()(torch::jit::Stack&, Func&) [with RetType = std::tuple >, std::vector >, std::vector > >; Func = register_embedding_params()::&)>; torch::jit::Stack = std::vector]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:407:42: required from ‘torch::jit::Function* torch::class_::defineMethod(std::string, Func, std::string, std::initializer_list) [with Func = register_embedding_params()::&)>; CurClass = EmbeddingPackedParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:160:17: required from ‘torch::class_& torch::class_::def(std::string, Func, std::string, std::initializer_list) [with Func = register_embedding_params()::&)>; CurClass = EmbeddingPackedParamsBase; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:314:8: required from ‘torch::class_& torch::class_::def_pickle(GetStateFn&&, SetStateFn&&) [with GetStateFn = register_embedding_params()::&)>; SetStateFn = register_embedding_params()::; CurClass = EmbeddingPackedParamsBase]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:532:18: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: note: remove ‘std::move’ call /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(std::tuple<_UTypes ...>&&) [with Args = {std::__cxx11::basic_string, std::allocator >, std::vector >, std::vector, std::allocator > >}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2389:10: required from ‘c10::IValue c10::ivalue::detail::from_(T&&, std::true_type) [with T = std::tuple, std::allocator >, std::vector >, std::vector, std::allocator > > >; std::true_type = std::integral_constant]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2406:23: required from ‘c10::IValue c10::ivalue::from(T&&) [with T = std::tuple, std::allocator >, std::vector >, std::vector, std::allocator > > >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class_detail.h:167:41: required from ‘void torch::detail::BoxedProxy::operator()(torch::jit::Stack&, Func&) [with RetType = std::tuple, std::allocator >, std::vector >, std::vector, std::allocator > > >; Func = register_conv_params<2>()::, c10::detail::intrusive_target_default_null_type > >&)>; torch::jit::Stack = std::vector]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:407:42: required from ‘torch::jit::Function* torch::class_::defineMethod(std::string, Func, std::string, std::initializer_list) [with Func = register_conv_params<2>()::, c10::detail::intrusive_target_default_null_type > >&)>; CurClass = ConvPackedParamsBase<2>; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:160:17: required from ‘torch::class_& torch::class_::def(std::string, Func, std::string, std::initializer_list) [with Func = register_conv_params<2>()::, c10::detail::intrusive_target_default_null_type > >&)>; CurClass = ConvPackedParamsBase<2>; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:314:8: required from ‘torch::class_& torch::class_::def_pickle(GetStateFn&&, SetStateFn&&) [with GetStateFn = register_conv_params<2>()::, c10::detail::intrusive_target_default_null_type > >&)>; SetStateFn = register_conv_params<2>()::; CurClass = ConvPackedParamsBase<2>]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:401:16: required from ‘int register_conv_params() [with int kSpatialDim = 2]’ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.cpp:436:39: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: note: remove ‘std::move’ call [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv_dynamic.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 45%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv_prepack.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qdropout.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qdropout.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qdropout.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qdropout.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qdropout.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qconv_unpack_impl.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qelu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qelu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qelu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qelu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qelu.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qelu.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qdropout.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qembeddingbag.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_prepack.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qgelu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qgelu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qgelu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qgelu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qgelu.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qgelu.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/EmbeddingPackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qembeddingbag_unpack.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardswish.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardswish.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardswish.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qhardswish.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qhardswish.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qhardsigmoid.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qlinear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qhardswish.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qlinear.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-deprecated-declarations -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qlinear_dynamic.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmatmul.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmatmul.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmatmul.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmatmul.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qmatmul.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/fbgemm_utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qlinear_prepack.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 46%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmul.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmul.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmul.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qmul.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qmul.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qmatmul.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qnormalization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qnormalization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qnormalization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qnormalization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnormalization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qmul.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qrelu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qrelu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qrelu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qrelu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qrelu.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnormalization.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qsigmoid.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/PackedParams.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QnnpackUtils.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qrelu.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qtanh.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qtanh.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qtanh.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qtanh.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qtanh.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/QuantizedOps.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qtanh.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qthreshold.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qthreshold.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qthreshold.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/qthreshold.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qthreshold.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qsoftmax.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/library.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/library.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/library.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/library.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/library.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qthreshold.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qconv_unpack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qconv_unpack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qconv_unpack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qconv_unpack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/qconv_unpack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/library.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qlinear_unpack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-deprecated-declarations -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qlinear_unpack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qlinear_unpack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/qlinear_unpack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/qlinear_unpack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/qconv_unpack.cpp:14: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(std::tuple<_UTypes ...>&&) [with Args = {c10::ArrayRef, c10::OptionalArrayRef, c10::List, c10::List, c10::List, long int}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/qconv_unpack.cpp:197:24: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 2095 | std::move(c10::guts::apply(c10::ivalue::Tuple::create, std::move(t)))) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2095:91: note: remove ‘std::move’ call [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/LinearAlgebra.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/LinearAlgebra.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/LinearAlgebra.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/LinearAlgebra.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/LinearAlgebra.cpp [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseBlasImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseBlasImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseBlasImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseBlasImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SparseBlasImpl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SparseBlasImpl.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/qlinear_unpack.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SpectralOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pocketfft -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SpectralOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SpectralOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkl/SpectralOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SpectralOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseTensorImpl.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/SparseCsrTensorUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SparseCsrLinearAlgebra.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 47%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/BinaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/BinaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/BinaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/BinaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/BinaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/BinaryOps.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Conv.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Conv.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Conv.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Conv.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Conv.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Conv.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/ConvPrepack.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/ConvPrepack.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Common.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/ConvPrepack.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Copy.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Copy.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Copy.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Copy.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Copy.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkl/SpectralOps.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Gelu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Gelu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Gelu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Gelu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Gelu.cpp [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/IDeepRegistration.cpp [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Linear.cpp [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/MKLDNNCommon.cpp [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Linear.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Matmul.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Matmul.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Matmul.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Matmul.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Matmul.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/MKLDNNConversions.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/MkldnnTensorMath.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/LinearAlgebraUtils.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Matmul.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Matmul.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Normalization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Normalization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Normalization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Normalization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Normalization.cpp [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/OpContext.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/OpContext.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/OpContext.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/OpContext.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/OpContext.cpp [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Pooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Pooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Pooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Pooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Pooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Pooling.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Prelu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Prelu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Prelu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Prelu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Prelu.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Common.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/ConvPrepack.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/OpContext.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 48%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RNN.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RNN.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RNN.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RNN.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/RNN.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Prelu.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/RNN.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Relu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Relu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Relu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Relu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Relu.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/SoftMax.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/SoftMax.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/SoftMax.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/SoftMax.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/SoftMax.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Common.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/ConvPrepack.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/RegisterMkldnnOpContextClass.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorShape.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorShape.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorShape.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorShape.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/TensorShape.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorFactories.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorFactories.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorFactories.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/TensorFactories.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/TensorFactories.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/UnaryOps.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/UnaryOps.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/UnaryOps.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/UnaryOps.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/UnaryOps.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/TensorShape.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/mkldnn/Utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Utils.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/attention.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/attention.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/attention.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/attention.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/transformers/attention.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/mkldnn/Utils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/transformer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/transformer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/transformer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/transformers/transformer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/transformers/transformer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/transformers/attention.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/utils/Factory.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/utils/Factory.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/utils/Factory.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/utils/Factory.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/utils/Factory.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/transformers/transformer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Activation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Activation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Activation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Activation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/Activation.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/AveragePooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/AveragePooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/AveragePooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/AveragePooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/AveragePooling.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/ChannelShuffle.cpp [ 49%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Convolution.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Convolution.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Convolution.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Convolution.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/Convolution.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Init.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Init.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Init.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Init.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/Init.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/Linear.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/MaxPooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/MaxPooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/MaxPooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/MaxPooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/MaxPooling.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/OpContext.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/OpContext.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/OpContext.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/OpContext.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/OpContext.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/RegisterOpContextClass.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Shim.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Shim.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Shim.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/xnnpack/Shim.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/xnnpack/Shim.cpp [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CompositeViewCopyKernels.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CompositeViewCopyKernels.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CompositeViewCopyKernels.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/CompositeViewCopyKernels.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/CompositeViewCopyKernels.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/utils/Factory.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_0.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_0.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_0.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_0.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_0.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/CompositeViewCopyKernels.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_1.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_1.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_1.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_1.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_1.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_1.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_0.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_3.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_3.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_3.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_3.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_3.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_3.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_4.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_4.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_4.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/Operators_4.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_4.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_2.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 50%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterBackendSelect.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterBackendSelect.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterBackendSelect.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterBackendSelect.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterBackendSelect.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterBackendSelect.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCPU.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCPU.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCPU.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCPU.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCPU.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Operators_4.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCPU.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeExplicitAutograd.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeExplicitAutogradNonFunctional.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeImplicitAutogradNestedTensor.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_0.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_0.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_0.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_0.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_0.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterCompositeImplicitAutograd.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_1.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_1.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_1.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_1.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_1.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_0.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_1.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_3.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_3.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_3.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterFunctionalization_3.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_3.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_2.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMeta.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMeta.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMeta.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMeta.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterMeta.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterFunctionalization_3.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMkldnnCPU.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMkldnnCPU.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMkldnnCPU.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterMkldnnCPU.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterMkldnnCPU.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterMkldnnCPU.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorCPU.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorCPU.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorCPU.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorCPU.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterNestedTensorCPU.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterNestedTensorCPU.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorMeta.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorMeta.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorMeta.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterNestedTensorMeta.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterNestedTensorMeta.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterNestedTensorMeta.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedCPU.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedCPU.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedCPU.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedCPU.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterQuantizedCPU.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterQuantizedCPU.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 51%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedMeta.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedMeta.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedMeta.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterQuantizedMeta.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterQuantizedMeta.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterQuantizedMeta.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSchema.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSchema.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSchema.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSchema.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSchema.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterMeta.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCPU.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCPU.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCPU.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCPU.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSparseCPU.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSchema.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSchema.cpp: In function ‘at::TORCH_LIBRARY_init_aten(torch::Library&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:891:8: note: variable tracking size limit exceeded with ‘-fvar-tracking-assignments’, retrying without 891 | void TORCH_LIBRARY_init_##ns(torch::Library& m) | ^~~~~~~~~~~~~~~~~~~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrCPU.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrCPU.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrCPU.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseCsrCPU.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSparseCsrCPU.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSparseCPU.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseMeta.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseMeta.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseMeta.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterSparseMeta.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSparseMeta.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSparseCsrCPU.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterZeroTensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterZeroTensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterZeroTensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/RegisterZeroTensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterZeroTensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterSparseMeta.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPU_add.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPU_add.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPU_add.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPU_add.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/UfuncCPU_add.cpp [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenOpList.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenOpList.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenOpList.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/ATenOpList.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/core/ATenOpList.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RegisterZeroTensor.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TensorMethods.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TensorMethods.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TensorMethods.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/core/TensorMethods.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/core/TensorMethods.cpp [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/QTensorImpl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/QTensorImpl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/QTensorImpl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/QTensorImpl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/quantized/QTensorImpl.cpp [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/Quantizer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/Quantizer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/Quantizer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/quantized/Quantizer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/quantized/Quantizer.cpp [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_bind.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_bind.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_bind.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_bind.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_bind.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/quantized/Quantizer.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_model_loader.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_model_loader.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_model_loader.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_model_loader.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_model_loader.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_bind.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_register.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_register.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_register.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_register.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_register.cpp [ 52%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_wrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_wrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_wrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/nnapi/nnapi_wrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_wrapper.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/UfuncCPUKernel_add.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -Wno-deprecated-copy -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_bind.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/nnapi/nnapi_register.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/airy_ai.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/WeightNormKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:19, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnfoldBackward.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/Unfold2d.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UpSampleKernel.cpp:16, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 53%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SumKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/StackKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SparseFactories.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SortingKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/RenormKernel.cpp.DEFAULT.cpp [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexing.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceOpsUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 54%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PowKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxPooling.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/LerpKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/IndexKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/sum.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/HistogramKernel.cpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/HistogramKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -Wno-uninitialized -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/FillKernel.cpp.DEFAULT.cpp [ 55%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/DistributionKernels.cpp:14, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistributionKernels.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CrossKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CopyKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorFactories.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ComplexKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ComplexKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/CatKernel.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/CatKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CatKernel.cpp.DEFAULT.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/BlasKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -DCPU_CAPABILITY=DEFAULT -DCPU_CAPABILITY_DEFAULT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/Activation.cpp.DEFAULT.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/vulkan/Context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/vulkan/Context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/vulkan/Context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/vulkan/Context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/vulkan/Context.cpp [ 56%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/metal/Context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/metal/Context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/metal/Context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/metal/Context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/metal/Context.cpp [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/core/common.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/core/common.cc.o -MF CMakeFiles/torch_cpu.dir/core/common.cc.o.d -o CMakeFiles/torch_cpu.dir/core/common.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/core/common.cc [ 57%] Building C object caffe2/CMakeFiles/torch_cpu.dir/__/third_party/miniz-2.1.0/miniz.c.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/gcc -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -DNDEBUG -DNDEBUG -DNDEBUG -std=gnu11 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -DCAFFE2_BUILD_MAIN_LIB -pthread -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/third_party/miniz-2.1.0/miniz.c.o -MF CMakeFiles/torch_cpu.dir/__/third_party/miniz-2.1.0/miniz.c.o.d -o CMakeFiles/torch_cpu.dir/__/third_party/miniz-2.1.0/miniz.c.o -c /builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0/miniz.c /builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0/miniz.c:3157:9: note: ‘#pragma message: Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.’ 3157 | #pragma message("Using fopen, ftello, fseeko, stat() etc. path for file I/O - this path may not support large files.") | ^~~~~~~ [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/inline_container.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/serialize/inline_container.cc.o -MF CMakeFiles/torch_cpu.dir/serialize/inline_container.cc.o.d -o CMakeFiles/torch_cpu.dir/serialize/inline_container.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/serialize/inline_container.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/istream_adapter.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/serialize/istream_adapter.cc.o -MF CMakeFiles/torch_cpu.dir/serialize/istream_adapter.cc.o.d -o CMakeFiles/torch_cpu.dir/serialize/istream_adapter.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/serialize/istream_adapter.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/file_adapter.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/serialize/file_adapter.cc.o -MF CMakeFiles/torch_cpu.dir/serialize/file_adapter.cc.o.d -o CMakeFiles/torch_cpu.dir/serialize/file_adapter.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/serialize/file_adapter.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/crc.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/serialize/crc.cc.o -MF CMakeFiles/torch_cpu.dir/serialize/crc.cc.o.d -o CMakeFiles/torch_cpu.dir/serialize/crc.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/serialize/crc.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/serialize/read_adapter_interface.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/serialize/read_adapter_interface.cc.o -MF CMakeFiles/torch_cpu.dir/serialize/read_adapter_interface.cc.o.d -o CMakeFiles/torch_cpu.dir/serialize/read_adapter_interface.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/serialize/read_adapter_interface.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o -MF CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o.d -o CMakeFiles/torch_cpu.dir/utils/string_utils.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/utils/string_utils.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/ThreadPool.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/ThreadPool.cc.o -MF CMakeFiles/torch_cpu.dir/utils/threadpool/ThreadPool.cc.o.d -o CMakeFiles/torch_cpu.dir/utils/threadpool/ThreadPool.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/utils/threadpool/ThreadPool.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/pthreadpool-cpp.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/pthreadpool-cpp.cc.o -MF CMakeFiles/torch_cpu.dir/utils/threadpool/pthreadpool-cpp.cc.o.d -o CMakeFiles/torch_cpu.dir/utils/threadpool/pthreadpool-cpp.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/utils/threadpool/pthreadpool-cpp.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/thread_pool_guard.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/utils/threadpool/thread_pool_guard.cpp.o -MF CMakeFiles/torch_cpu.dir/utils/threadpool/thread_pool_guard.cpp.o.d -o CMakeFiles/torch_cpu.dir/utils/threadpool/thread_pool_guard.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/utils/threadpool/thread_pool_guard.cpp [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/utils/proto_wrap.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/utils/proto_wrap.cc.o -MF CMakeFiles/torch_cpu.dir/utils/proto_wrap.cc.o.d -o CMakeFiles/torch_cpu.dir/utils/proto_wrap.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/utils/proto_wrap.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/adagrad.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/adagrad.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/adagrad.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/adagrad.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/adagrad.cc [ 57%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/batch_box_cox.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/batch_box_cox.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/batch_box_cox.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/batch_box_cox.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/batch_box_cox.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/embedding_lookup.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup_idx.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup_idx.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup_idx.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/embedding_lookup_idx.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/embedding_lookup_idx.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/fused_8bit_rowwise_embedding_lookup_idx.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_nbit_rowwise_conversion.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/fused_nbit_rowwise_conversion.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/fused_nbit_rowwise_conversion.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/fused_nbit_rowwise_conversion.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/fused_nbit_rowwise_conversion.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/lstm_unit_cpu_common.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/lstm_unit_cpu_common.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/lstm_unit_cpu_common.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/lstm_unit_cpu_common.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/lstm_unit_cpu_common.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/math_cpu_base.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/math_cpu_base.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/math_cpu_base.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/math_cpu_base.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/math_cpu_base.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/perfkernels/typed_axpy.cc.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/perfkernels/typed_axpy.cc.o -MF CMakeFiles/torch_cpu.dir/perfkernels/typed_axpy.cc.o.d -o CMakeFiles/torch_cpu.dir/perfkernels/typed_axpy.cc.o -c /builddir/build/BUILD/pytorch-v2.0.1/caffe2/perfkernels/typed_axpy.cc [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/Functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/Functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/Functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/Functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/Functions.cpp [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_0.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_0.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_0.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_0.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_0.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/FunctionsManual.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/Functions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_1.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_1.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_1.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_1.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_1.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_0.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_1.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_3.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_3.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_3.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_3.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_3.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 58%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_4.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_4.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_4.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/VariableType_4.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_4.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_3.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_0.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_0.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_0.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_0.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_0.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/VariableType_4.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_1.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_1.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_1.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_1.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_1.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_0.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_1.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_3.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_3.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_3.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_3.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_3.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_2.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_4.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_4.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_4.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/TraceType_4.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_4.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_3.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/ADInplaceOrViewType_0.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/TraceType_4.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/LazyNativeFunctions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/LazyNativeFunctions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/LazyNativeFunctions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/LazyNativeFunctions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/LazyNativeFunctions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/ADInplaceOrViewType_1.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/RegisterAutogradLazy.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterLazy.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterLazy.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterLazy.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/generated/RegisterLazy.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/RegisterLazy.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/LazyNativeFunctions.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:3: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h: In function ‘torch::lazy::GetBackendDevice>(c10::optional const&)c10::optional’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion] 89 | c10::optional GetBackendDevice( | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call 92 | auto optional_device = GetBackendDevice(tensor); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h: In function ‘torch::lazy::GetBackendDevice>(c10::optional const&)c10::optional’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion] 89 | c10::optional GetBackendDevice( | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call 92 | auto optional_device = GetBackendDevice(tensor); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h: In function ‘torch::lazy::GetBackendDevice(c10::SymInt const&)c10::optional’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h:89:30: warning: infinite recursion detected [-Winfinite-recursion] 89 | c10::optional GetBackendDevice( | ^~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.h:92:8: note: recursive call 92 | auto optional_device = GetBackendDevice(tensor); | ^~~~~~~~~~~~~~~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/anomaly_mode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/anomaly_mode.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/anomaly_mode.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/anomaly_mode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/anomaly_mode.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/anomaly_mode.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_meta.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_meta.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_meta.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_meta.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd_meta.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd_meta.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_not_implemented_fallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_not_implemented_fallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_not_implemented_fallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/autograd_not_implemented_fallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd_not_implemented_fallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/generated/RegisterLazy.cpp:28: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 59%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/cpp_hook.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/cpp_hook.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/cpp_hook.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/cpp_hook.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/cpp_hook.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/custom_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/cpp_hook.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/custom_function.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/custom_function.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/custom_function.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/custom_function.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/custom_function.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd_not_implemented_fallback.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd_not_implemented_fallback.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/TorchDispatchUtils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd_not_implemented_fallback.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/engine.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/engine.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/engine.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/engine.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/engine.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/custom_function.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/forward_grad.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/forward_grad.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/forward_grad.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/forward_grad.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/forward_grad.cpp [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/function.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/function.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/function.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/function.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/engine.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/engine.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/accumulate_grad.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/accumulate_grad.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/accumulate_grad.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/accumulate_grad.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/accumulate_grad.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/basic_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/basic_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/basic_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/basic_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/basic_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/accumulate_grad.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/accumulate_grad.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/tensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/tensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/tensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/tensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/tensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/basic_ops.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/basic_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/functions/utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/tensor.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/tensor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_buffer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_buffer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_buffer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/input_buffer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/input_buffer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/utils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/utils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/jit_decomp_interface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/jit_decomp_interface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/jit_decomp_interface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/jit_decomp_interface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/jit_decomp_interface.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/input_buffer.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/input_buffer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_kineto.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/jit_decomp_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/jit_decomp_interface.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_legacy.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_legacy.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_legacy.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/profiler_legacy.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_legacy.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/record_function_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-deprecated-declarations -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/record_function_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/record_function_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/record_function_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/record_function_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_legacy.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_legacy.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_legacy.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 60%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/saved_variable.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/saved_variable.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/saved_variable.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/saved_variable.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/saved_variable.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/engine.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/saved_variable.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/utils/warnings.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/utils/warnings.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/utils/warnings.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/utils/warnings.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/utils/warnings.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/record_function_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/record_function_ops.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/variable.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.cpp [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/function_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/function_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/function_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/function_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/object.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/object.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/object.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/object.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_handler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_handler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_handler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_handler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_info.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_info.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_info.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_debug_info.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_info.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_detail.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_detail.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_detail.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_detail.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_detail.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_info.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_interface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_interface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_interface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_interface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_interface.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_detail.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_resolver.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_resolver.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_resolver.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/backends/backend_resolver.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_resolver.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_interface.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_interface.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/codegen.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/codegen.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/codegen.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/codegen.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/codegen.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_resolver.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_resolver.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/compiler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/compiler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/compiler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/compiler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/compiler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/arg_spec.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/codegen.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/codegen.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/codegen.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/executor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/executor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/executor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/executor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/executor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/compiler.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/compiler.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/compiler.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 61%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/fallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/fallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/fallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/fallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/fallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/executor.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/executor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/executor.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/interface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/interface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/interface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/interface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/fallback.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/fallback.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_cache.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/fallback.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/kernel_cache.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/kernel_cache.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/kernel_cache.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/kernel_cache.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_cache.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/builtin_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/builtin_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/builtin_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/builtin_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/builtin_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_cache.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_cache.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/kernel_spec.h:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/builtin_functions.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/builtin_functions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/convert_to_ssa.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/convert_to_ssa.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/convert_to_ssa.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/convert_to_ssa.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/convert_to_ssa.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/canonicalize_modified_loop.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/edit_distance.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/edit_distance.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/edit_distance.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/edit_distance.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/edit_distance.cpp [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/exit_transforms.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/exit_transforms.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/exit_transforms.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/exit_transforms.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/exit_transforms.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/convert_to_ssa.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/convert_to_ssa.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/inline_loop_condition.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/inline_loop_condition.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/inline_loop_condition.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/inline_loop_condition.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/inline_loop_condition.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/exit_transforms.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/exit_transforms.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/ir_emitter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/ir_emitter.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/ir_emitter.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/ir_emitter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/inline_loop_condition.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/inline_loop_condition.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/name_mangler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/name_mangler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/name_mangler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/name_mangler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/name_mangler.cpp [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/parser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/parser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/parser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/parser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/parser.cpp [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_matching.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_matching.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_matching.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/schema_matching.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/schema_matching.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/schema_matching.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/schema_matching.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/script_type_parser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/script_type_parser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/script_type_parser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/script_type_parser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::vector torch::jit::to_ir::emitFormalArguments(const torch::jit::Def&, const torch::jit::Self*, const c10::FunctionSchema&, torch::jit::Block*)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:836:19: warning: possibly dangling reference to a temporary [-Wdangling-reference] 836 | const auto& name = (*it).ident().name(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:836:44: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Param::ident() const().torch::jit::Ident::name()’ 836 | const auto& name = (*it).ident().name(); | ~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:854:13: warning: possibly dangling reference to a temporary [-Wdangling-reference] 854 | auto& name = (*it).ident().name(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:854:38: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Param::ident() const().torch::jit::Ident::name()’ 854 | auto& name = (*it).ident().name(); | ~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘void torch::jit::to_ir::emitDelete(const torch::jit::Delete&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:996:28: warning: possibly dangling reference to a temporary [-Wdangling-reference] 996 | const SourceRange& val_range = subscript.value().range(); | ^~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:996:63: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Subscript::value() const().torch::jit::Expr::.torch::jit::TreeView::range()’ 996 | const SourceRange& val_range = subscript.value().range(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘torch::jit::RefinementSet torch::jit::to_ir::findIsNoneRefinements(const torch::jit::Expr&, torch::jit::Value*, const torch::jit::Expr&, torch::jit::Value*, int)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:1164:24: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1164 | const std::string& name = Var(lhs).name().name(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:1164:51: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Var::name() const().torch::jit::Ident::name()’ 1164 | const std::string& name = Var(lhs).name().name(); | ~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘torch::jit::CondValue torch::jit::to_ir::emitHasAttr(const torch::jit::Expr&, const torch::jit::Expr&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:2107:24: warning: possibly dangling reference to a temporary [-Wdangling-reference] 2107 | const std::string& name = StringLiteral(attrExpr).text(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:2107:59: note: the temporary was destroyed at the end of the full expression ‘torch::jit::StringLiteral(torch::jit::TreeView::operator torch::jit::TreeRef() const()).torch::jit::StringLiteral::text()’ 2107 | const std::string& name = StringLiteral(attrExpr).text(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::shared_ptr torch::jit::to_ir::emitApplySpecialForm(c10::Symbol, torch::jit::Apply&, std::shared_ptr, const c10::TypePtr&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:3421:28: warning: possibly dangling reference to a temporary [-Wdangling-reference] 3421 | const std::string& name = StringLiteral(selector).text(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:3421:63: note: the temporary was destroyed at the end of the full expression ‘torch::jit::StringLiteral(torch::jit::TreeView::operator torch::jit::TreeRef() const()).torch::jit::StringLiteral::text()’ 3421 | const std::string& name = StringLiteral(selector).text(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp: In member function ‘std::shared_ptr torch::jit::to_ir::emitSubscript(const torch::jit::Subscript&, c10::TypePtr)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:5177:24: warning: possibly dangling reference to a temporary [-Wdangling-reference] 5177 | const SourceRange& val_range = subscript.value().range(); | ^~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.cpp:5177:59: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Subscript::value() const().torch::jit::Expr::.torch::jit::TreeView::range()’ 5177 | const SourceRange& val_range = subscript.value().range(); | ~~~~~~~~~~~~~~~~~~~~~~~^~ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/sugared_value.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/sugared_value.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/sugared_value.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/sugared_value.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘c10::optional, int> > torch::jit::ScriptTypeParser::parseBroadcastList(const torch::jit::Expr&) const’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:126:11: warning: possibly dangling reference to a temporary [-Wdangling-reference] 126 | auto& name = var.name().name(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:126:33: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Var::name() const().torch::jit::Ident::name()’ 126 | auto& name = var.name().name(); | ~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘c10::optional > torch::jit::ScriptTypeParser::parseBaseTypeName(const torch::jit::Expr&) const’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:208:26: warning: possibly dangling reference to a temporary [-Wdangling-reference] 208 | const std::string& name = select.selector().name(); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:208:55: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Select::selector() const().torch::jit::Ident::name()’ 208 | const std::string& name = select.selector().name(); | ~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp: In member function ‘c10::TypePtr torch::jit::ScriptTypeParser::parseTypeFromExprImpl(const torch::jit::Expr&) const’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:256:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 256 | const auto& type_name = StringLiteral(expr).text(); | ^~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.cpp:256:53: note: the temporary was destroyed at the end of the full expression ‘torch::jit::StringLiteral(torch::jit::TreeView::operator torch::jit::TreeRef() const()).torch::jit::StringLiteral::text()’ 256 | const auto& type_name = StringLiteral(expr).text(); | ~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 62%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/tracer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/tracer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/tracer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/tracer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/versioned_symbols.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/versioned_symbols.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/versioned_symbols.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/frontend/versioned_symbols.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/versioned_symbols.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/tracer.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/alias_analysis.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/alias_analysis.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/alias_analysis.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/alias_analysis.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/versioned_symbols.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/versioned_symbols.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/attributes.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/attributes.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/attributes.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/attributes.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/attributes.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/attributes.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/constants.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/constants.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/constants.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/constants.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.cpp: In member function ‘void torch::jit::AliasDb::analyzeImpl(torch::jit::Node*)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.cpp:829:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 829 | const auto& actualValue = node->inputs().at(i); | ^~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.cpp:829:48: note: the temporary was destroyed at the end of the full expression ‘node->torch::jit::Node::inputs().c10::ArrayRef::at(((long unsigned int)i))’ 829 | const auto& actualValue = node->inputs().at(i); | ~~~~~~~~~~~~~~~~~^~~ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/graph_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/graph_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/graph_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/graph_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/graph_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/graph_utils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/graph_utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/ir.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/ir.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/ir.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/ir.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/irparser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/irparser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/irparser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/irparser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/irparser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/irparser.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/node_hashing.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/node_hashing.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/node_hashing.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/node_hashing.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/node_hashing.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/scope.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/scope.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/scope.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/scope.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/scope.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/node_hashing.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/subgraph_matcher.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/subgraph_matcher.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/subgraph_matcher.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/subgraph_matcher.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/subgraph_matcher.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/class_type.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/scope.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/type_hashing.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/type_hashing.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/type_hashing.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/ir/type_hashing.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/type_hashing.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/type_hashing.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/type_hashing.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_log.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_log.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_log.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_log.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/jit_log.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/subgraph_matcher.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/subgraph_matcher.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_opt_limit.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_opt_limit.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_opt_limit.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/jit_opt_limit.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/jit_opt_limit.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/jit_log.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/jit_log.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 63%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/jit_opt_limit.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/jit_opt_limit.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/runtime_compatibility.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/flatbuffer_loader.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/flatbuffer_loader.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/flatbuffer_loader.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/flatbuffer_loader.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/flatbuffer_loader.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/model_compatibility.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/function.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/function.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/function.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/function.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/function.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/function.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/function.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/function.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/flatbuffer_loader.cpp:15: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/flatbuffer_loader.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/flatbuffer_loader.cpp:26: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/interpreter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/interpreter.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/interpreter.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/interpreter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/interpreter.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/module.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/module.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/module.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/module.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/code.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/interpreter.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/interpreter.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/aot_compiler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/aot_compiler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/aot_compiler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/aot_compiler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/aot_compiler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/backend.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/backend.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/backend.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/backend.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/backend.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/backend.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/aot_compiler.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/aot_compiler.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/registry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/registry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/registry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/nnc/registry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/registry.cpp [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/observer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/observer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/observer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/observer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/observer.cpp [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_bytecode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_bytecode.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_bytecode.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_bytecode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_bytecode.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp: In constructor ‘torch::jit::mobile::nnc::Function::Function(const c10::IValue&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:137:53: warning: possibly dangling reference to a temporary [-Wdangling-reference] 137 | dict.at("input_specs").toTupleRef().elements()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:137:52: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict::at(const Key&) const [with Key = c10::IValue; Value = c10::IValue](c10::IValue(((const char*)"input_specs"))).c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’ 137 | dict.at("input_specs").toTupleRef().elements()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:143:54: warning: possibly dangling reference to a temporary [-Wdangling-reference] 143 | dict.at("output_specs").toTupleRef().elements()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:143:53: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict::at(const Key&) const [with Key = c10::IValue; Value = c10::IValue](c10::IValue(((const char*)"output_specs"))).c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’ 143 | dict.at("output_specs").toTupleRef().elements()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:152:55: warning: possibly dangling reference to a temporary [-Wdangling-reference] 152 | dict.at("sym_shape_pos").toTupleRef().elements()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/nnc/context.cpp:152:54: note: the temporary was destroyed at the end of the full expression ‘(& c10::Dict::at(const Key&) const [with Key = c10::IValue; Value = c10::IValue](c10::IValue(((const char*)"sym_shape_pos"))).c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’ 152 | dict.at("sym_shape_pos").toTupleRef().elements()) { | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_operators.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_operators.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_operators.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/parse_operators.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_operators.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_bytecode.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_bytecode.cpp: In function ‘c10::IValue torch::jit::expect_field(c10::ivalue::TupleElements&, const std::string&, size_t)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_bytecode.cpp:27:19: warning: redundant move in return statement [-Wredundant-move] 27 | return std::move(row->elements().at(1)); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_bytecode.cpp:27:19: note: remove ‘std::move’ call [ 64%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/prim_ops_registery.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/prim_ops_registery.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/prim_ops_registery.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/prim_ops_registery.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/prim_ops_registery.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/parse_operators.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/promoted_prim_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/promoted_prim_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/promoted_prim_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/promoted_prim_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/promoted_prim_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/prim_ops_registery.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/prim_ops_registery.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/quantization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/quantization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/quantization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/quantization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/quantization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/promoted_prim_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/register_ops_common_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/register_ops_common_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/register_ops_common_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/register_ops_common_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/register_ops_common_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/quantization.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/quantization.cpp: In member function ‘void torch::jit::mobile::quantization::PTQQuanizationHelper::quantize_dynamic(torch::jit::mobile::Module&, const std::string&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/quantization.cpp:55:19: warning: possibly dangling reference to a temporary [-Wdangling-reference] 55 | const Function& to_be_copied = | ^~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/quantization.cpp:56:60: note: the temporary was destroyed at the end of the full expression ‘(&(& m)->torch::jit::mobile::Module::find_method(quantized_method_name).c10::optional::value())->torch::jit::mobile::Method::function()’ 56 | m.find_method(quantized_method_name).value().function(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/type_parser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/type_parser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/type_parser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/type_parser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/type_parser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/register_ops_common_utils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/register_ops_common_utils.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/upgrader_mobile.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/upgrader_mobile.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/upgrader_mobile.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/upgrader_mobile.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/upgrader_mobile.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/type_parser.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/upgraders.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/upgrader_mobile.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/upgrader_mobile.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/upgraders.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/upgraders.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/utils.cpp [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/version_map.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/version_map.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/version_map.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/operator_upgraders/version_map.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/version_map.cpp [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/add_if_then_else.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/add_if_then_else.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/add_if_then_else.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/add_if_then_else.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/add_if_then_else.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/upgraders_entry.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/operator_upgraders/upgraders_entry.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/annotate_warns.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/annotate_warns.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/annotate_warns.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/annotate_warns.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/annotate_warns.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/add_if_then_else.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/add_if_then_else.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/bailout_graph.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/bailout_graph.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/bailout_graph.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/bailout_graph.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/bailout_graph.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/annotate_warns.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/annotate_warns.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/batch_mm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/batch_mm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/batch_mm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/batch_mm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/batch_mm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/bailout_graph.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/bailout_graph.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/bailout_graph.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/canonicalize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/batch_mm.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/batch_mm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 65%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/canonicalize.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/canonicalize.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/check_strict_fusion.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/check_strict_fusion.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/check_strict_fusion.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/check_strict_fusion.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/check_strict_fusion.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/canonicalize_graph_fuser_ops.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_profiling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_profiling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_profiling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_profiling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_profiling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/check_strict_fusion.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/check_strict_fusion.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_undefinedness.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_undefinedness.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_undefinedness.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/clear_undefinedness.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_undefinedness.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_profiling.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_profiling.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_profiling.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/common_subexpression_elimination.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/common_subexpression_elimination.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/common_subexpression_elimination.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/common_subexpression_elimination.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/common_subexpression_elimination.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_undefinedness.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_undefinedness.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/clear_undefinedness.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/concat_opt.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/concat_opt.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/concat_opt.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/concat_opt.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/concat_opt.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/common_subexpression_elimination.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/common_subexpression_elimination.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_pooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_pooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_pooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_pooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_pooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/concat_opt.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/concat_opt.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_propagation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_propagation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_propagation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/constant_propagation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_propagation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_pooling.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_pooling.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_propagation.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_propagation.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_functional_graphs.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_functional_graphs.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_functional_graphs.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/create_functional_graphs.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/create_functional_graphs.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/create_autodiff_subgraphs.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/create_autodiff_subgraphs.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/cuda_graph_fuser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/cuda_graph_fuser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/cuda_graph_fuser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/cuda_graph_fuser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/cuda_graph_fuser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/create_functional_graphs.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/create_functional_graphs.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/cuda/interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/cuda_graph_fuser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/cuda_graph_fuser.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dead_code_elimination.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dead_code_elimination.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dbr_quantization/remove_redundant_aliases.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/decompose_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/decompose_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/decompose_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/decompose_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/decompose_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dead_code_elimination.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dead_code_elimination.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 66%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/device_type_analysis.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/device_type_analysis.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/device_type_analysis.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/device_type_analysis.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/device_type_analysis.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/decompose_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/decompose_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dtype_analysis.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dtype_analysis.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dtype_analysis.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/dtype_analysis.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dtype_analysis.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/device_type_analysis.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/eliminate_no_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/eliminate_no_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/eliminate_no_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/eliminate_no_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/eliminate_no_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dtype_analysis.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dtype_analysis.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/erase_number_types.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/erase_number_types.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/erase_number_types.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/erase_number_types.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/erase_number_types.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/eliminate_no_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/eliminate_no_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/erase_number_types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/erase_number_types.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_conv_bn.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_conv_bn.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_conv_bn.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_conv_bn.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fold_conv_bn.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fixup_trace_scope_blocks.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fixup_trace_scope_blocks.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_linear_bn.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_linear_bn.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_linear_bn.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fold_linear_bn.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fold_linear_bn.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fold_conv_bn.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fold_conv_bn.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/freeze_module.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/freeze_module.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/freeze_module.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/freeze_module.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/freeze_module.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fold_linear_bn.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fold_linear_bn.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_concat_linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_concat_linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_concat_linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_concat_linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_concat_linear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_concat_linear.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_conv_add_relu_fusion.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_folding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_folding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_folding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_conv_folding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_conv_folding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/freeze_module.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/freeze_module.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_graph_optimizations.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_graph_optimizations.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_graph_optimizations.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_graph_optimizations.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_graph_optimizations.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_conv_folding.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_conv_folding.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_folding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_folding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_folding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_folding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_linear_folding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_graph_optimizations.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_transpose.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_transpose.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_transpose.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_linear_transpose.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_linear_transpose.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/constants.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_linear_folding.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_linear_folding.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 67%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_linear_transpose.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fuse_linear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fuse_linear.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fuse_linear.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_relu.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_relu.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_relu.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/fuse_relu.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fuse_relu.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/frozen_ops_to_mkldnn.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_fuser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_fuser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_fuser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_fuser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/graph_fuser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fuse_relu.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/fuse_relu.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_rewrite_helper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_rewrite_helper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_rewrite_helper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/graph_rewrite_helper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/graph_rewrite_helper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/graph_rewrite_helper.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/graph_rewrite_helper.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/guard_elimination.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/guard_elimination.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/guard_elimination.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/guard_elimination.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/guard_elimination.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/graph_fuser.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/graph_fuser.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/hoist_conv_packed_params.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/hoist_conv_packed_params.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/hoist_conv_packed_params.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/hoist_conv_packed_params.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/hoist_conv_packed_params.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/hoist_conv_packed_params.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/guard_elimination.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/guard_elimination.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/guard_elimination.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_fork_wait.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_fork_wait.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_fork_wait.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_fork_wait.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_fork_wait.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_autodiff_subgraphs.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_autodiff_subgraphs.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_forked_closures.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_forked_closures.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_forked_closures.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inline_forked_closures.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_forked_closures.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_fork_wait.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_fork_wait.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inliner.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inliner.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inliner.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inliner.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inliner.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_forked_closures.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inline_forked_closures.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inplace_check.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inplace_check.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inplace_check.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/inplace_check.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inplace_check.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inliner.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/insert_guards.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/insert_guards.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/insert_guards.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/insert_guards.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/insert_guards.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inplace_check.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inplace_check.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/integer_value_refinement.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/integer_value_refinement.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/integer_value_refinement.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/integer_value_refinement.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/integer_value_refinement.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/insert_guards.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/insert_guards.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/insert_guards.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lift_closures.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lift_closures.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lift_closures.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lift_closures.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lift_closures.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/integer_value_refinement.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 68%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/liveness.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/liveness.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/liveness.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/liveness.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/liveness.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lift_closures.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lift_closures.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/loop_unrolling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/loop_unrolling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/loop_unrolling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/loop_unrolling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/loop_unrolling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/liveness.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/liveness.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/liveness.h:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_grad_of.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_grad_of.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_grad_of.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_grad_of.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_grad_of.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/loop_unrolling.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/loop_unrolling.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_tuples.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_tuples.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_grad_of.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_grad_of.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/metal_rewrite.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/metal_rewrite.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_tuples.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_tuples.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/mkldnn_rewrite.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/mkldnn_rewrite.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/mkldnn_rewrite.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/mkldnn_rewrite.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/mkldnn_rewrite.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/metal_rewrite.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/normalize_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/normalize_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/mkldnn_rewrite.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/pass_manager.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/pass_manager.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/normalize_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/normalize_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/pass_manager.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/pass_manager.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_alias_sensitive.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_alias_sensitive.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_alias_sensitive.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_alias_sensitive.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_alias_sensitive.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_dict_idioms.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_dict_idioms.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_dict_idioms.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_dict_idioms.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_dict_idioms.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_alias_sensitive.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_list_idioms.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_list_idioms.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_dict_idioms.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/peephole_non_tensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_non_tensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_list_idioms.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/prepack_folding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/prepack_folding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/peephole_non_tensor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 69%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/prepack_folding.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/finalize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/finalize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/finalize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/finalize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/finalize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/dedup_module_uses.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/dedup_module_uses.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/fusion_passes.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/fusion_passes.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/fusion_passes.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/fusion_passes.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/fusion_passes.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/fusion_passes.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/fusion_passes.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/helper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/helper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/helper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/helper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/helper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/finalize.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/finalize.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_observers.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_observers.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_observers.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_observers.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_observers.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/helper.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/helper.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/helper.cpp: In function ‘void torch::jit::cloneMethod(Module&, const std::string&, const std::string&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/helper.cpp:335:19: warning: possibly dangling reference to a temporary [-Wdangling-reference] 335 | const Function& method = module.get_method(orig_method_name).function(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/helper.cpp:335:72: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Object::get_method(const std::string&) const((* & orig_method_name)).torch::jit::Method::function()’ 335 | const Function& method = module.get_method(orig_method_name).function(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_observers.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_observers.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/quantization_type.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/quantization_type.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/quantization_type.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/quantization_type.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/quantization_type.cpp [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/register_packed_params.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/register_packed_params.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/register_packed_params.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/quantization/register_packed_params.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/register_packed_params.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp: In member function ‘void torch::jit::{anonymous}::InsertQuantDeQuantHelper::run(torch::jit::Module&, const std::string&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1454:11: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1454 | auto& v = graph->inputs()[idx]; | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1454:34: note: the temporary was destroyed at the end of the full expression ‘((std::__shared_ptr_access*)(& graph))->std::__shared_ptr_access::operator->()->torch::jit::Graph::inputs().c10::ArrayRef::operator[](((long unsigned int)idx))’ 1454 | auto& v = graph->inputs()[idx]; | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp: In member function ‘void torch::jit::{anonymous}::InsertQuantDeQuantHelper::runForOnDevicePTQ(torch::jit::Module&, const std::string&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1662:11: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1662 | auto& v = graph->inputs()[idx]; | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/insert_quant_dequant.cpp:1662:34: note: the temporary was destroyed at the end of the full expression ‘((std::__shared_ptr_access*)(& graph))->std::__shared_ptr_access::operator->()->torch::jit::Graph::inputs().c10::ArrayRef::operator[](((long unsigned int)idx))’ 1662 | auto& v = graph->inputs()[idx]; | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/refine_tuple_types.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/refine_tuple_types.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/refine_tuple_types.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/refine_tuple_types.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/refine_tuple_types.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/register_packed_params.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/quantization/register_packed_params.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_dropout.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_dropout.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_dropout.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_dropout.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_dropout.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/refine_tuple_types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/refine_tuple_types.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_exceptions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_exceptions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_exceptions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_exceptions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_exceptions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_dropout.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_dropout.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_expands.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_expands.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_expands.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_expands.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_expands.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/constant_pooling.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_exceptions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_mutation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_mutation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_mutation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_mutation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_mutation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_expands.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_expands.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_redundant_profiles.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_redundant_profiles.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_redundant_profiles.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_redundant_profiles.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_redundant_profiles.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_mutation.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_mutation.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 70%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/replacement_of_old_operators.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/replacement_of_old_operators.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/replacement_of_old_operators.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/replacement_of_old_operators.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/replacement_of_old_operators.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/dead_code_elimination.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_redundant_profiles.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/requires_grad_analysis.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/requires_grad_analysis.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/requires_grad_analysis.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/requires_grad_analysis.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/requires_grad_analysis.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/replacement_of_old_operators.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/replacement_of_old_operators.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/restore_mutation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/restore_mutation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/restore_mutation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/restore_mutation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/restore_mutation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/requires_grad_analysis.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/requires_grad_analysis.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/shape_analysis.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/shape_analysis.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/shape_analysis.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/shape_analysis.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/shape_analysis.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_mutation.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/restore_mutation.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/specialize_autogradzero.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/specialize_autogradzero.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/specialize_autogradzero.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/specialize_autogradzero.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/specialize_autogradzero.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/shape_analysis.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/shape_analysis.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/subgraph_rewrite.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/subgraph_rewrite.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/subgraph_rewrite.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/subgraph_rewrite.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/subgraph_rewrite.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/specialize_autogradzero.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/specialize_autogradzero.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_analysis.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_analysis.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_analysis.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_analysis.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/subgraph_rewrite.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/subgraph_rewrite.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_cache.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_cache.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_cache.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_cache.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_cache.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_cache.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/tensorexpr_fuser.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/tensorexpr_fuser.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/tensorexpr_fuser.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/tensorexpr_fuser.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/tensorexpr_fuser.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_runtime_fusion.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/tensorexpr_fuser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/tensorexpr_fuser.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/memory_dag.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/memory_dag.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/memory_dag.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/memory_dag.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/memory_dag.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/update_differentiable_graph_requires_grad.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/op_registry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/op_registry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/op_registry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/op_registry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/op_registry.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/memory_dag.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/memory_dag.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/optimization_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/optimization_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/optimization_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/optimization_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/optimization_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/op_registry.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/op_registry.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/subgraph_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/subgraph_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/subgraph_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/subgraph_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/subgraph_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/optimization_utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/optimization_utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 71%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/value_refinement_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/value_refinement_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/value_refinement_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/value_refinement_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/value_refinement_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/subgraph_utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/subgraph_utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/variadic_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/variadic_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/variadic_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/variadic_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/variadic_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/alias_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/value_refinement_utils.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/value_refinement_utils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/vulkan_rewrite.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/vulkan_rewrite.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/vulkan_rewrite.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/vulkan_rewrite.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/vulkan_rewrite.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/variadic_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/variadic_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/xnnpack_rewrite.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/xnnpack_rewrite.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/xnnpack_rewrite.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/xnnpack_rewrite.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/xnnpack_rewrite.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/vulkan_rewrite.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/update_graph_executor_opt.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/update_graph_executor_opt.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/update_graph_executor_opt.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/python/update_graph_executor_opt.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/python/update_graph_executor_opt.cpp [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/argument_spec.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/argument_spec.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/argument_spec.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/argument_spec.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/argument_spec.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/xnnpack_rewrite.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/autodiff.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/autodiff.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/autodiff.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/autodiff.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/autodiff.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/argument_spec.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/argument_spec.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/argument_spec.h:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/decomposition_registry.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/decomposition_registry.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/decomposition_registry_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/decomposition_registry_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/autodiff.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/autodiff.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/graph_executor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/graph_executor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/graph_executor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/graph_executor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/decomposition_registry_util.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/instruction.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/instruction.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/instruction.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/instruction.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/instruction.cpp [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp: In member function ‘void torch::jit::{anonymous}::DifferentiableGraphBackward::addOutputForIValue(const c10::IValue&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp:329:30: warning: possibly dangling reference to a temporary [-Wdangling-reference] 329 | for (const at::Tensor& tensor : value.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp:329:58: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 329 | for (const at::Tensor& tensor : value.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp: In member function ‘void torch::jit::{anonymous}::DifferentiableGraphBackward::addInputIValue(const c10::IValue&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp:360:30: warning: possibly dangling reference to a temporary [-Wdangling-reference] 360 | for (const at::Tensor& tensor : tensors) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/graph_executor.cpp:360:39: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 360 | for (const at::Tensor& tensor : tensors) { | ^~~~~~~ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/frame.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/frame.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/frame.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/frame.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/frame.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/code_impl.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/frame.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/frame.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 72%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_exception.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_exception.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_exception.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_exception.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/jit_exception.cpp [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_trace.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_trace.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_trace.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/jit_trace.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/jit_trace.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/preprocess_graph.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/interpreter/preprocess_graph.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/logging.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/logging.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/logging.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/logging.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/logging.cpp [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/operator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/operator.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/operator.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/operator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/jit_trace.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir_views.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/jit_trace.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/print_handler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/print_handler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/print_handler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/print_handler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/print_handler.cpp [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_record.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_record.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_record.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/profiling_record.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_record.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_record.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_record.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_record.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_ops_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_ops_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_ops_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_ops_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/script_profile.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/script_profile.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/script_profile.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/script_profile.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/script_profile.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/script_profile.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/script_profile.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/script_profile.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/serialized_shape_function_registry.cpp:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/slice_indices_adjust.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/slice_indices_adjust.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/slice_indices_adjust.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/slice_indices_adjust.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/slice_indices_adjust.cpp [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/fusion.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/fusion.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/fusion.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/fusion.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/fusion.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/profiling_graph_executor_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/simple_graph_executor_impl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/generated_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/generated_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/generated_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/generated_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/generated_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/fusion.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/fusion.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 73%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.h:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/memory_planner.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/memory_planner.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/memory_planner.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/memory_planner.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/memory_planner.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/memory_planner.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/memory_planner.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.h:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/native_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/native_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/native_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/native_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/native_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/ops.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/generated_ops.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/inliner.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/native_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/native_ops.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/native_ops.cpp: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/native_ops.cpp:1176:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1176 | auto& elems = future->value().toTupleRef().elements(); | ^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/ops.h:49:28: note: in definition of macro ‘REGISTER_NATIVE_OPERATOR_FUNCTOR’ 49 | const SROpFunctor fn = __VA_ARGS__; \ | ^~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/native_ops.cpp:1176:60: note: the temporary was destroyed at the end of the full expression ‘(& c10::ivalue::Future::value()().c10::IValue::toTupleRef())->c10::ivalue::Tuple::elements()’ 1176 | auto& elems = future->value().toTupleRef().elements(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/ops.h:49:28: note: in definition of macro ‘REGISTER_NATIVE_OPERATOR_FUNCTOR’ 49 | const SROpFunctor fn = __VA_ARGS__; \ | ^~~~~~~~~~~ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/passes.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/passes.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/passes.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/passes.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/passes.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/passes.h:1, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/passes.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/te_wrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/te_wrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/te_wrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/static/te_wrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/te_wrapper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/ops.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_script.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_script.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_script.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_script.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_script.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_script.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_script.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_shape_registry.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/te_wrapper.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/te_wrapper.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/te_wrapper.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_shape_registry.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/vararg_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/vararg_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/vararg_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/vararg_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/vararg_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/ir_emitter.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/symbolic_shape_registry_util.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/vararg_functions.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/vararg_functions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -DC10_DISABLE_LEGACY_IMPORT -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/callstack_debug_info_serialization.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_export_helpers.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_export_helpers.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_export_helpers.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_export_helpers.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_export_helpers.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_export_helpers.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_read.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_read.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_read.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_read.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_read.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_read.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_read.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_source.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_source.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_source.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/import_source.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 74%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickle.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickle.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/pickler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.cpp: In member function ‘void torch::jit::SourceImporterImpl::importNamedType(const std::string&, const torch::jit::ClassDef&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.cpp:286:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 286 | const auto& superclass_name = Var(class_def.superclass().get()).name().name(); | ^~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.cpp:286:78: note: the temporary was destroyed at the end of the full expression ‘torch::jit::Var::name() const().torch::jit::Ident::name()’ 286 | const auto& superclass_name = Var(class_def.superclass().get()).name().name(); | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/python_print.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/python_print.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/python_print.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/python_print.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/python_print.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickler.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_context.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickler.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/source_range_serialization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/source_range_serialization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/source_range_serialization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/source_range_serialization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/python_print.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/python_print.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/python_print.cpp: In member function ‘void torch::jit::PythonPrintImpl::printRHS(TaggedStringStream&, torch::jit::Node*)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/python_print.cpp:1133:21: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1133 | const auto& self = node->inputs().at(0); | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/python_print.cpp:1133:45: note: the temporary was destroyed at the end of the full expression ‘node->torch::jit::Node::inputs().c10::ArrayRef::at(0)’ 1133 | const auto& self = node->inputs().at(0); | ~~~~~~~~~~~~~~~~~^~~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/type_name_uniquer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/type_name_uniquer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/type_name_uniquer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/type_name_uniquer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/type_name_uniquer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/type_hashing.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/type_name_uniquer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/type_name_uniquer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/unpickler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/source_range_serialization.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/block_codegen.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/block_codegen.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/block_codegen.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/block_codegen.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/block_codegen.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/block_codegen.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/block_codegen.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_inference.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_inference.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_inference.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_inference.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_inference.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_context.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.cpp: In function ‘void torch::jit::restoreAccurateTypeTags(const c10::IValue&, const c10::TypePtr&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.cpp:138:28: warning: possibly dangling reference to a temporary [-Wdangling-reference] 138 | for (const IValue& item : lst) { | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.cpp:138:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 138 | for (const IValue& item : lst) { | ^~~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_overlap.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_overlap.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_overlap.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/bounds_overlap.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_inference.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_inference.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/codegen.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/codegen.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/codegen.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/codegen.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/codegen.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/cpp_codegen.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/cpp_codegen.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/cpp_codegen.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/cpp_codegen.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/cpp_codegen.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/cpp_codegen.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/cpp_codegen.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/eval.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/eval.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/eval.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/eval.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/eval.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/analysis.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/codegen.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/expr.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/expr.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/expr.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/expr.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/expr.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/expr.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/eval.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/eval.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 75%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/import_source.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions.cpp:20: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_core.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_core.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_core.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_core.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions_core.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/Functions.h:60, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions_codegen.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_registry.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_registry.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_registry.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/external_functions_registry.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions_registry.cpp [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/graph_opt.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/graph_opt.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/graph_opt.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/graph_opt.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/graph_opt.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions_core.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/external_functions_core.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/hash_provider.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/hash_provider.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/hash_provider.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/hash_provider.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/hash_provider.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/hash_provider.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/hash_provider.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/intrinsic_symbols.cpp [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/graph_opt.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/graph_opt.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_cloner.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_cloner.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_cloner.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_cloner.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_cloner.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_mutator.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_mutator.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_mutator.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_mutator.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_mutator.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_cloner.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_printer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_printer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_printer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_printer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_printer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/codegen.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/eval.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_mutator.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_simplifier.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_simplifier.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_simplifier.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_simplifier.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_simplifier.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_printer.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_printer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_verifier.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_verifier.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_verifier.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_verifier.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_verifier.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_verifier.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_visitor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_visitor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_visitor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/ir_visitor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_visitor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_simplifier.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/kernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/kernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/kernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/kernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_visitor.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 76%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_codegen.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-init-list-lifetime -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_codegen.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_codegen.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_codegen.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/llvm_codegen.cpp [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_jit.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-redundant-move -Wno-noexcept-type -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_jit.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_jit.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/llvm_jit.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/llvm_jit.cpp [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/loopnest.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp: In member function ‘torch::jit::tensorexpr::ExprHandle torch::jit::tensorexpr::TensorExprKernel::getVarForShape(const c10::ShapeSymbol&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:483:21: warning: redundant move in return statement [-Wredundant-move] 483 | return std::move(var); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:483:21: note: remove ‘std::move’ call /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp: In member function ‘torch::jit::tensorexpr::ExprHandle torch::jit::tensorexpr::TensorExprKernel::getStrideArg(size_t, size_t)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:1025:21: warning: redundant move in return statement [-Wredundant-move] 1025 | return std::move(var); | ~~~~~~~~~^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:1025:21: note: remove ‘std::move’ call /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp: In member function ‘void torch::jit::tensorexpr::TensorExprKernel::compile()’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:1767:11: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1767 | auto& output = graph_->outputs().at(i); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.cpp:1767:40: note: the temporary was destroyed at the end of the full expression ‘((std::__shared_ptr_access*)(&((torch::jit::tensorexpr::TensorExprKernel*)this)->torch::jit::tensorexpr::TensorExprKernel::graph_))->std::__shared_ptr_access::operator->()->torch::jit::Graph::outputs().c10::ArrayRef::at(i)’ 1767 | auto& output = graph_->outputs().at(i); | ~~~~~~~~~~~~~~~~~~~~^~~ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/analysis.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/loopnest.cpp:17: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/lowerings.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/lowerings.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/lowerings.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/lowerings.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/loopnest_randomization.cpp:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/function_schema_parser.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/conv2d.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/conv2d.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/conv2d.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/conv2d.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/conv2d.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/mem_dependency_checker.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/matmul.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/matmul.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/matmul.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/matmul.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/matmul.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/conv2d.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/conv2d.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/misc.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/misc.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/misc.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/misc.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/matmul.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/matmul.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/matmul.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/norm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/norm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/norm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/norm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/norm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/pointwise.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/pointwise.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/pointwise.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/pointwise.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/pointwise.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/norm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/quantization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/quantization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/quantization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/quantization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/quantization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/pointwise.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/reduction.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/reduction.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/reduction.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/reduction.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/reduction.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/bounds_overlap.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir_simplifier.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/quantization.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/lowerings.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/misc.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/quantization.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/softmax.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/softmax.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/softmax.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/operators/softmax.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/softmax.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/reduction.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/reduction.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/reduction.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/reduction.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/reduction.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/reduction.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/reduction.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/kernel.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/softmax.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/operators/softmax.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 77%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/registerizer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/registerizer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/registerizer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/registerizer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/registerizer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/reduction.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/reduction.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/tensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/tensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/tensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/tensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/tensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/reduction.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/tensor.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/tensor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/types.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/types.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/types.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/types.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/types.cpp [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/unique_name_manager.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/unique_name_manager.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/unique_name_manager.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/tensorexpr/unique_name_manager.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/unique_name_manager.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/hash_provider.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/registerizer.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/registerizer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/file_check.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/file_check.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/file_check.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/file_check.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/testing/file_check.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/ir.h:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/tensorexpr/unique_name_manager.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/hooks_for_testing.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/hooks_for_testing.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/hooks_for_testing.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/testing/hooks_for_testing.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/testing/hooks_for_testing.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/testing/file_check.cpp:18: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_device.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_device.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_device.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_device.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/testing/hooks_for_testing.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/testing/hooks_for_testing.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_interface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_interface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_interface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/backend_interface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_device.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/lowering_context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/lowering_context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/lowering_context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/backend/lowering_context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/lowering_context.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/config.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/config.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/config.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/config.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/config.cpp [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/debug_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/debug_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/debug_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/debug_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/debug_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/lowering_context.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/lowering_context.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/hash.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/hash.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/hash.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/hash.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/hash.cpp [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/helpers.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/helpers.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/helpers.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/helpers.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/helpers.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/debug_util.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/debug_util.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/helpers.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/helpers.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 78%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_dump_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_dump_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_dump_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_dump_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_dump_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_metadata.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_metadata.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_metadata.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_metadata.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_metadata.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/debug_util.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_metadata.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ir_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_dump_util.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_dump_util.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/lazy_graph_executor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/lazy_graph_executor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/lazy_graph_executor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/lazy_graph_executor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/lazy_graph_executor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_util.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir_util.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/metrics.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/metrics.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/metrics.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/metrics.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/metrics.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/lowering_context.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/lazy_graph_executor.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/lazy_graph_executor.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/multi_wait.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/multi_wait.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/multi_wait.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/multi_wait.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/multi_wait.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/metrics.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/ops/utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ops/utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ops/arithmetic_ir_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ops/arithmetic_ir_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/permutation_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/permutation_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/permutation_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/permutation_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/permutation_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_util.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ops/utils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ops/utils.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.cpp [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape_inference.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape_inference.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape_inference.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/shape_inference.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape_inference.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape_inference.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape_inference.cpp:50: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/tensor_util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_util.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_impl.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_impl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 79%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/thread_pool.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/thread_pool.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/thread_pool.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/thread_pool.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/thread_pool.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_util.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor_util.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/trie.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/trie.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/trie.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/core/trie.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/trie.cpp [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/counters.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/counters.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/counters.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/counters.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/monitor/counters.cpp [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/events.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/events.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/events.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/monitor/events.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/monitor/events.cpp [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/collection.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/collection.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/collection.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/collection.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/collection.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/trie.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/trie.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/data_flow.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/data_flow.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/data_flow.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/data_flow.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/data_flow.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_shim.h:18, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/collection.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/data_flow.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_client_interface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_client_interface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_client_interface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_client_interface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_client_interface.cpp [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_shim.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_shim.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_shim.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/kineto_shim.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_shim.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_shim.h:18, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_shim.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/observer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/observer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/observer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/observer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_shim.h:18, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/collection.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/collection.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/python_tracer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/python_tracer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/python_tracer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/python_tracer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/python_tracer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/vulkan.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/vulkan.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/vulkan.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/orchestration/vulkan.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/vulkan.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/kineto_shim.h:18, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/python_tracer.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/python_tracer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/perf.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/perf.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/perf.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/perf.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/perf.cpp [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/execution_graph_observer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/execution_graph_observer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/execution_graph_observer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/execution_graph_observer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/util.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/vulkan.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/vulkan.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/itt_observer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/itt_observer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/itt_observer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/itt_observer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/itt_observer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/itt_observer.h:1, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/itt_observer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/nvtx_observer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/nvtx_observer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/nvtx_observer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/standalone/nvtx_observer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/nvtx_observer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/nvtx_observer.h:1, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/nvtx_observer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/nvtx_observer.cpp: In function ‘std::__cxx11::list > torch::profiler::impl::flattenOpIdList(c10::List, std::string)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/nvtx_observer.cpp:74:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] 74 | for (const c10::IValue& input : list) { | ^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/nvtx_observer.cpp:74:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 74 | for (const c10::IValue& input : list) { | ^~~~ [ 80%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/base.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/base.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/base.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/base.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/stubs/base.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp:26: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/format.h:48, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp:12: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::join_view<__gnu_cxx::__normal_iterator*, std::vector > >, __gnu_cxx::__normal_iterator*, std::vector > >, char>&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = fmt::v9::join_view<__gnu_cxx::__normal_iterator*, std::vector > >, __gnu_cxx::__normal_iterator*, std::vector > >, char>&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>&}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:44: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char> >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp:44:21: required from ‘std::string torch::profiler::impl::vectorToString(const std::vector&) [with T = std::__cxx11::basic_string; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp:64:27: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map*, std::vector > >, __gnu_cxx::__normal_iterator*, std::vector > >, char>&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::join_view<__gnu_cxx::__normal_iterator >, __gnu_cxx::__normal_iterator >, char>&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = fmt::v9::join_view<__gnu_cxx::__normal_iterator >, __gnu_cxx::__normal_iterator >, char>&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {fmt::v9::join_view<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, char>&}; Context = fmt::v9::basic_format_context; Args = {fmt::v9::join_view<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, char>}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {join_view<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, char>&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:44: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {join_view<__gnu_cxx::__normal_iterator > >, __gnu_cxx::__normal_iterator > >, char>}; std::string = std::__cxx11::basic_string; format_string = basic_format_string > >, __gnu_cxx::__normal_iterator > >, char> >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp:44:21: required from ‘std::string torch::profiler::impl::vectorToString(const std::vector&) [with T = long int; std::string = std::__cxx11::basic_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/standalone/execution_graph_observer.cpp:88:28: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map >, __gnu_cxx::__normal_iterator >, char>&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/util.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/util.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/util.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/util.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/util.cpp [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/cpp_stacktraces.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/cpp_stacktraces.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/cpp_stacktraces.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/cpp_stacktraces.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/cpp_stacktraces.cpp [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/schema_info.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/schema_info.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/schema_info.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/schema_info.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/schema_info.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/schema_info.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/tensor_flatten.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/tensor_flatten.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/tensor_flatten.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/tensor_flatten.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/tensor_flatten.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/util.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/util.cpp: In function ‘std::vector > torch::profiler::impl::flattenList(c10::List, std::string)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/util.cpp:235:27: warning: possibly dangling reference to a temporary [-Wdangling-reference] 235 | for (const c10::IValue& input : list) { | ^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/util.cpp:235:35: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 235 | for (const c10::IValue& input : list) { | ^~~~ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/variadic.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/variadic.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/variadic.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/variadic.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/cuda/interface.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/cuda/interface.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/cuda/interface.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/cuda/interface.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/cuda/interface.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/tensor_flatten.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/tensor_flatten.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/autocast.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/autocast.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/autocast.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/autocast.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/autocast.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/cuda/interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/cuda/interface.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_graph.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_graph.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_graph.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/lower_graph.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_graph.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/autocast.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/autocast.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_inplace_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_inplace_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_inplace_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/remove_inplace_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_inplace_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_inplace_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/remove_inplace_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/check_alias_annotation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/check_alias_annotation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/check_alias_annotation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/passes/utils/check_alias_annotation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_graph.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/lower_graph.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_c10_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_c10_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_c10_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_c10_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_c10_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp: In function ‘c10::IValue torch::jit::{anonymous}::deepCopy(const c10::IValue&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:31:24: warning: possibly dangling reference to a temporary [-Wdangling-reference] 31 | for (const IValue& value : source) { | ^~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/utils/check_alias_annotation.cpp:31:32: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 31 | for (const IValue& value : source) { | ^~~~~~ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_c10_ops.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops_fulljit.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 81%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_special_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_special_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_special_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/runtime/register_special_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_special_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/autocast_mode.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/custom_operator.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h: In instantiation of ‘void torch::jit::listContains(Stack&) [with T = std::__cxx11::basic_string; Stack = std::vector]’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_prim_ops.cpp:1000:34: required from here /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h:334:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 334 | for (const T& item : list) { | ^~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_ops_utils.h:334:3: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::operator std::conditional_t&, std::__cxx11::basic_string >()’ 334 | for (const T& item : list) { | ^~~ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/debug_info.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/debug_info.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/debug_info.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/debug_info.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/infer_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/library.h:61, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_special_ops.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/utils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/register_special_ops.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/dynamic_ir.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/dynamic_ir.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/dynamic_ir.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/dynamic_ir.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/dynamic_ir.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/config.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/config.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/config.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/config.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/config.cpp [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/device_data.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/device_data.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/device_data.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/device_data.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/device_data.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/ir.h:19, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/dynamic_ir.h:17, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/dynamic_ir.h:16, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/dynamic_ir.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/random_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/random_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/random_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/random_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/random_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/device_data.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/device_data.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/generic.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/generic.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/generic.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ops/generic.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/generic.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/random_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/random_ops.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/generic.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ops/generic.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/tensor_aten_ops.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/tensor_aten_ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUFallback.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_autograd_functions.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/CPUFallback.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_eager_fallback.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_eager_fallback.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_backend_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_backend_impl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_native_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_native_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_native_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_native_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_native_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_interface.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_backend_impl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_lowering_context.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/passes/symbolic_shape_analysis.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/shape.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/backend/backend_data.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/tensor.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/core/debug_util.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 82%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_native_functions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/FunctionalTensorWrapper.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import_data.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import_data.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import_data.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/import_data.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import_data.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/jit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node_lowering.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/lazy/ts_backend/ts_node_lowering.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/export_data.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/export_data.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/export_data.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/export_data.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/export_data.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import_data.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import_data.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/optim/sgd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/optim/sgd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/optim/sgd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/optim/sgd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/optim/sgd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/export_data.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/export_data.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/random.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/random.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/random.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/random.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/random.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/optim/sgd.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/optim/sgd.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/sequential.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/sequential.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/sequential.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/train/sequential.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/sequential.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/random.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/random.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/flatbuffer_serializer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/flatbuffer_serializer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/flatbuffer_serializer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/flatbuffer_serializer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/flatbuffer_serializer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/sequential.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/train/sequential.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/FunctionsManual.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/FunctionsManual.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/FunctionsManual.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/FunctionsManual.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/FunctionsManual.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/flatbuffer_serializer.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/flatbuffer_serializer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/flatbuffer_serializer.h:11: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/out_types.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/out_types.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/out_types.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/out_types.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/out_types.cpp [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/TraceTypeManual.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/TraceTypeManual.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/TraceTypeManual.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/TraceTypeManual.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/TraceTypeManual.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/FunctionsManual.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/FunctionsManual.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/VariableTypeManual.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/VariableTypeManual.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/VariableTypeManual.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/autograd/VariableTypeManual.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeManual.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/op_registration/op_registration.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/TraceTypeManual.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/TraceTypeManual.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/itt_wrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/itt_wrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/itt_wrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/itt_wrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/itt_wrapper.cpp [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/itt.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/itt.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/itt.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/profiler/stubs/itt.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/stubs/itt.cpp [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/jit.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/jit.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/jit.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/jit.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/jit.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/jit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/jit.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/backport.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/backport.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 83%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport_manager.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport_manager.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport_manager.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/mobile/compatibility/backport_manager.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/backport_manager.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/RedispatchFunctions.h:17, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeManual.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/VariableTypeManual.cpp:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/onnx.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/onnx.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/named_value.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/onnx.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/onnx.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -Wno-deprecated-declarations -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/backport_manager.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/compilation_unit.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/debug_info.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/import.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/mobile/compatibility/backport_manager.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_bytecode.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_bytecode.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_bytecode.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_bytecode.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_bytecode.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_bytecode.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_bytecode.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_detail.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/backends/backend_debug_handler.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_bytecode.h:10: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_module.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_module.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_module.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/serialization/export_module.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/interface.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/compiler.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/codegen/fuser/cpu/fused_kernel.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module_save.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module_save.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module_save.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/jit/api/module_save.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module_save.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp: In function ‘std::pair torch::jit::{anonymous}::getFunctionTuple(const torch::jit::CompilationUnit&, const torch::jit::mobile::Function&, torch::jit::BackendDebugInfoRecorder&, torch::jit::TypeNameUniquer&)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp:206:22: warning: possibly dangling reference to a temporary [-Wdangling-reference] 206 | const TypePtr& key_type = t->containedTypes()[0]; | ^~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp:206:54: note: the temporary was destroyed at the end of the full expression ‘t.c10::Type::SingletonOrSharedTypePtr::operator->()->c10::Type::containedTypes().c10::ArrayRef >::operator[](0)’ 206 | const TypePtr& key_type = t->containedTypes()[0]; | ^ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp:207:22: warning: possibly dangling reference to a temporary [-Wdangling-reference] 207 | const TypePtr& value_type = t->containedTypes()[1]; | ^~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/export_module.cpp:207:56: note: the temporary was destroyed at the end of the full expression ‘t.c10::Type::SingletonOrSharedTypePtr::operator->()->c10::Type::containedTypes().c10::ArrayRef >::operator[](1)’ 207 | const TypePtr& value_type = t->containedTypes()[1]; | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/byte_order.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/byte_order.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/byte_order.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/utils/byte_order.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/byte_order.cpp [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Backend.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Backend.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Backend.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Backend.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module_save.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/FileStore.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/FileStore.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/FileStore.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/FileStore.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/FileStore.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/FileStore.hpp:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/FileStore.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/GlooDeviceFactory.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/GlooDeviceFactory.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/GlooDeviceFactory.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/GlooDeviceFactory.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/GlooDeviceFactory.cpp [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Ops.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Ops.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Ops.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Ops.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Ops.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ParamCommsUtils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ParamCommsUtils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ParamCommsUtils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ParamCommsUtils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ParamCommsUtils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ParamCommsUtils.hpp:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ParamCommsUtils.cpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/PrefixStore.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/PrefixStore.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/PrefixStore.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/PrefixStore.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/PrefixStore.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/PrefixStore.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/PrefixStore.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 84%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroup.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroup.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroup.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroup.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/stack.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/boxing/KernelFunction.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Ops.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupMPI.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupMPI.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupMPI.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupMPI.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupMPI.cpp [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupGloo.hpp:21, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupGloo.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Store.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Store.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Store.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Store.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupGloo.hpp:21, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupWrapper.hpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupWrapper.cpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStore.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStore.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStore.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/TCPStore.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/TCPStore.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Utils.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/comm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/comm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/comm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/comm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/comm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/TCPStore.hpp:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/TCPStore.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/debug.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/debug.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/debug.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/debug.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/debug.cpp [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/default_comm_hooks.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/default_comm_hooks.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/default_comm_hooks.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/default_comm_hooks.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/default_comm_hooks.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/comm.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/comm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/comm.hpp:6: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/exception.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/exception.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/exception.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/exception.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/exception.cpp [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logger.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logger.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logger.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logger.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logger.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/default_comm_hooks.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/default_comm_hooks.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/all.h:15, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/torch.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/default_comm_hooks.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h: In constructor ‘torch::nn::SequentialImpl::SequentialImpl(std::initializer_list)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:20: warning: redundant move in initialization [-Wredundant-move] 122 | std::move(named_module.name()), std::move(named_module.module())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:20: note: remove ‘std::move’ call /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:52: warning: redundant move in initialization [-Wredundant-move] 122 | std::move(named_module.name()), std::move(named_module.module())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:52: note: remove ‘std::move’ call [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logging.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logging.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logging.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/logging.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logging.cpp [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/quantization/quantization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/quantization/quantization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/quantization/quantization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/quantization/quantization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/quantization/quantization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Utils.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logger.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/reducer.hpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logger.hpp:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logger.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 85%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/reducer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/reducer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/reducer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/reducer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/reducer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/quantization/quantization.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/quantization/quantization.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/sequence_num.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/sequence_num.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/sequence_num.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/sequence_num.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/sequence_num.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/sequence_num.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/socket.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/socket.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/socket.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/socket.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/format.h:48, from /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/chrono.h:21, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:30: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const c10d::detail::SocketImpl&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = const c10d::detail::SocketImpl&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const c10d::detail::SocketImpl&}; Context = fmt::v9::basic_format_context; Args = {c10d::detail::SocketImpl}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const c10d::detail::SocketImpl&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:44: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const c10d::detail::SocketImpl&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:277:24: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::error_code&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::error_code&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const c10d::detail::SocketImpl&, std::error_code&}; Context = fmt::v9::basic_format_context; Args = {c10d::detail::SocketImpl, std::error_code}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const c10d::detail::SocketImpl&, std::error_code&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:44: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const c10d::detail::SocketImpl&, std::error_code&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:280:24: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = addrinfo&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = addrinfo&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const c10d::detail::SocketImpl&, addrinfo&}; Context = fmt::v9::basic_format_context; Args = {c10d::detail::SocketImpl, addrinfo}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const c10d::detail::SocketImpl&, addrinfo&}]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logging.h:24:49: required from ‘std::string c10d::detail::formatLogMessage(fmt::v9::string_view, T&& ...) [with T = {const SocketImpl&, addrinfo&}; std::string = std::__cxx11::basic_string; fmt::v9::string_view = fmt::v9::basic_string_view]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:295:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = fmt::v9::join_view<__gnu_cxx::__normal_iterator*, std::vector > >, __gnu_cxx::__normal_iterator*, std::vector > >, char>&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = fmt::v9::join_view<__gnu_cxx::__normal_iterator*, std::vector > >, __gnu_cxx::__normal_iterator*, std::vector > >, char>&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const char* const&, fmt::v9::join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>&}; Context = fmt::v9::basic_format_context; Args = {const char*, fmt::v9::join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const char* const&, join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:44: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const char* const&, join_view<__gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char>}; std::string = std::__cxx11::basic_string; format_string = basic_format_string, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, __gnu_cxx::__normal_iterator, std::allocator >*, std::vector, std::allocator >, std::allocator, std::allocator > > > >, char> >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:464:32: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map*, std::vector > >, __gnu_cxx::__normal_iterator*, std::vector > >, char>&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const addrinfo&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = const addrinfo&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const addrinfo&, std::error_code&}; Context = fmt::v9::basic_format_context; Args = {addrinfo, std::error_code}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const addrinfo&, std::error_code&}]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:424:58: required from ‘void c10d::detail::{anonymous}::SocketListenOp::recordError(fmt::v9::string_view, Args&& ...) [with Args = {const addrinfo&, std::error_code}; fmt::v9::string_view = fmt::v9::basic_string_view]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:505:16: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = c10d::detail::SocketImpl&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = c10d::detail::SocketImpl&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const addrinfo&, c10d::detail::SocketImpl&}; Context = fmt::v9::basic_format_context; Args = {addrinfo, c10d::detail::SocketImpl}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const addrinfo&, c10d::detail::SocketImpl&}]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/logging.h:24:49: required from ‘std::string c10d::detail::formatLogMessage(fmt::v9::string_view, T&& ...) [with T = {const addrinfo&, SocketImpl&}; std::string = std::__cxx11::basic_string; fmt::v9::string_view = fmt::v9::basic_string_view]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:787:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = std::chrono::duration&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = std::chrono::duration&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {std::chrono::duration >&, const char* const&, const std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::chrono::duration >, const char*, std::__cxx11::basic_string, std::allocator >}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {std::chrono::duration >&, const char* const&, const std::__cxx11::basic_string, std::allocator >&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:44: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {std::chrono::duration >, const char* const&, const std::__cxx11::basic_string, std::allocator >&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string >, const char* const&, const std::__cxx11::basic_string, std::allocator >&>]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:854:25: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map&>((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h: In instantiation of ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_value(T&&) [with Context = fmt::v9::basic_format_context; T = const std::_V2::error_category&]’: /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1777:29: required from ‘constexpr fmt::v9::detail::value fmt::v9::detail::make_arg(T&&) [with bool IS_PACKED = true; Context = fmt::v9::basic_format_context; type = fmt::v9::detail::type::custom_type; T = const std::_V2::error_category&; typename std::enable_if::type = 0]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1901:77: required from ‘constexpr fmt::v9::format_arg_store::format_arg_store(T&& ...) [with T = {const std::_V2::error_category&, int&, std::__cxx11::basic_string, std::allocator >&}; Context = fmt::v9::basic_format_context; Args = {std::_V2::error_category, int, std::__cxx11::basic_string, std::allocator >}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1918:31: required from ‘constexpr fmt::v9::format_arg_store::type>::type ...> fmt::v9::make_format_args(Args&& ...) [with Context = basic_format_context; Args = {const std::_V2::error_category&, int&, std::__cxx11::basic_string, std::allocator >&}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3235:52: required from ‘OutputIt fmt::v9::format_to(OutputIt, format_string, T&& ...) [with OutputIt = appender; T = {const std::_V2::error_category&, int, std::__cxx11::basic_string, std::allocator >}; typename std::enable_if::value, int>::type = 0; format_string = basic_format_string, std::allocator > >]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/error.h:40:21: required from ‘decltype(auto) fmt::v9::formatter::format(const std::error_code&, FormatContext&) [with FormatContext = fmt::v9::basic_format_context]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:813:70: [ skipping 6 instantiation contexts, use -ftemplate-backtrace-limit=0 to disable ] /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1729:68: required from ‘constexpr long long unsigned int fmt::v9::detail::encode_types() [with Context = fmt::v9::basic_format_context; Arg = std::error_code; Args = {}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1730:41: required from ‘constexpr long long unsigned int fmt::v9::detail::encode_types() [with Context = fmt::v9::basic_format_context; Arg = c10d::detail::SocketImpl; Args = {std::error_code}]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1886:58: required from ‘constexpr const long long unsigned int fmt::v9::format_arg_store, c10d::detail::SocketImpl, std::error_code>::desc’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1999:63: required from ‘constexpr fmt::v9::basic_format_args::basic_format_args(const fmt::v9::format_arg_store&) [with Args = {c10d::detail::SocketImpl, std::error_code}; Context = fmt::v9::basic_format_context]’ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:3206:17: required from ‘std::string fmt::v9::format(format_string, T&& ...) [with T = {const c10d::detail::SocketImpl&, std::error_code&}; std::string = std::__cxx11::basic_string; format_string = basic_format_string]’ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/socket.cpp:280:24: required from here /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:15: warning: possibly dangling reference to a temporary [-Wdangling-reference] 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ^~~ /builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include/fmt/core.h:1735:46: note: the temporary was destroyed at the end of the full expression ‘fmt::v9::detail::arg_mapper >().fmt::v9::detail::arg_mapper >::map((* & val))’ 1735 | const auto& arg = arg_mapper().map(FMT_FORWARD(val)); | ~~~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Work.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Work.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Work.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/Work.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Work.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/reducer.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/reducer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/reducer.hpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/autograd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/autograd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/autograd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/autograd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/autograd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Work.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/autograd.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/autograd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/autograd.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/container.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/container.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/container.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/container.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/container.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/utils.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/context/context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/container.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/engine/dist_engine.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/engine/dist_engine.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/engine/dist_engine.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/engine/dist_engine.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/engine/dist_engine.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict_inl.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Dict.h:397, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty_like.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorOperators.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/functions/accumulate_grad.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/engine/dist_engine.cpp:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/container.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/engine/dist_engine.cpp:9: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/sendrpc_backward.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/sendrpc_backward.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/autograd_metadata.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/autograd_metadata.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/autograd_metadata.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/autograd_metadata.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/autograd_metadata.cpp [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/graph_task.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/function.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_resp.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/propagate_gradients_req.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 86%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_resp.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/cleanup_autograd_context_req.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_autograd.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_req.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_req.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rpc_with_profiling_resp.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/HashStore.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/HashStore.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/HashStore.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/HashStore.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/HashStore.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/HashStore.hpp:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/HashStore.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/rpc_messages/rref_backward_resp.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/agent_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/agent_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/agent_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/agent_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/agent_utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Backend.hpp:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.hpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroupRoundRobin.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/ProcessGroup.hpp:13: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/message.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/message.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/message.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/message.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function_schema.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/builtin_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/custom_class.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/Store.hpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/c10d/PrefixStore.hpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/agent_utils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/agent_utils.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/utils.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/agent_utils.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/server_process_global_profiler.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_call.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_call.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_call.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_call.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_call.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/profiler/remote_profiler_manager.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_remote_call.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_remote_call.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_remote_call.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_remote_call.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_remote_call.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_call.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_call.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 87%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_resp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_resp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_resp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/python_resp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_resp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_resp.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_resp.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/request_callback.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_remote_call.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/python_remote_call.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback_no_python.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback_no_python.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback_no_python.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/request_callback_no_python.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/request_callback_no_python.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/request_callback.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/request_callback.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rpc_agent.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rpc_agent.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rpc_agent.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rpc_agent.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/request_callback_no_python.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/request_callback_no_python.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_context.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_context.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_context.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_context.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_context.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_impl.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_impl.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_impl.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_impl.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_impl.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_context.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_context.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_proto.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_proto.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_proto.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/rref_proto.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_proto.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_impl.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_impl.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_call.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_call.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_call.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_call.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_call.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rref_proto.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_remote_call.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_remote_call.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_remote_call.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_remote_call.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_remote_call.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_call.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_resp.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_resp.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_resp.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/script_resp.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_resp.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_remote_call.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_agent.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_agent.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_agent.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_agent.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/tensorpipe_agent.cpp [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/tensorpipe_utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/tensorpipe_utils.cpp [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/testing/faulty_tensorpipe_agent.cpp [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/torchscript_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/torchscript_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/torchscript_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/torchscript_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/torchscript_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_resp.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/script_resp.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 88%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/types.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/types.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/types.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/types.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/types.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/types.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/utils.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/utils.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/utils.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/distributed/rpc/utils.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/utils.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ThreadLocalState.h:14, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/torchscript_functions.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_agent.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/functions/recvrpc_backward.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/context/context.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/autograd/utils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/torchscript_functions.cpp:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/cuda.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/cuda.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/cuda.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/cuda.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/cuda.cpp [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/datasets/mnist.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/datasets/mnist.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/datasets/mnist.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/datasets/mnist.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/datasets/mnist.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/record_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/orchestration/observer.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/profiler/api.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler_kineto.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/profiler.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/utils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/utils.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/message.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/rpc_command_base.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/distributed/rpc/utils.h:7: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/distributed.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/distributed.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/distributed.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/distributed.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/distributed.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/example.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/datasets/base.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/datasets/mnist.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/datasets/mnist.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/random.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/random.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/random.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/random.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/random.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/distributed.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/distributed.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/sequential.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/sequential.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/sequential.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/sequential.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/sequential.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/random.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/random.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/stream.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/stream.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/stream.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/data/samplers/stream.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/stream.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/sequential.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/sequential.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/enum.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/enum.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/enum.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/enum.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/enum.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/base.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/data/samplers/stream.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/data/samplers/stream.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/imethod.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/imethod.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/imethod.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/imethod.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/imethod.cpp [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/serialize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/imethod.h:2, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/imethod.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/init.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/init.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/init.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/init.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/init.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/serialize.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/sugared_value.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/resolver.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/frontend/script_type_parser.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/unpickler.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/serialization/pickle.h:8: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/module.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/module.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/module.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/module.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/module.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/init.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/init.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/_functions.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/_functions.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/_functions.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/_functions.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/_functions.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/module.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/activation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/activation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/activation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/activation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/activation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/custom_function.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/_functions.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/_functions.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/normalization.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/_functions.h:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 89%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/adaptive.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/adaptive.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/adaptive.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/adaptive.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/adaptive.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/adaptive.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/adaptive.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ In file included from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/adaptive.h:7: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h: In constructor ‘torch::nn::SequentialImpl::SequentialImpl(std::initializer_list)’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:20: warning: redundant move in initialization [-Wredundant-move] 122 | std::move(named_module.name()), std::move(named_module.module())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:20: note: remove ‘std::move’ call /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:52: warning: redundant move in initialization [-Wredundant-move] 122 | std::move(named_module.name()), std::move(named_module.module())); | ~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/sequential.h:122:52: note: remove ‘std::move’ call [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/batchnorm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/batchnorm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/batchnorm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/batchnorm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/batchnorm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/dropout.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/dropout.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/activation.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/activation.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/normalization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/normalization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/normalization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/normalization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/normalization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/batchnorm.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/batchnorm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/instancenorm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/instancenorm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/instancenorm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/instancenorm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/instancenorm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/normalization.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/normalization.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/conv.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/conv.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/conv.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/conv.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/conv.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/instancenorm.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/instancenorm.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/instancenorm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/dropout.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/dropout.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/dropout.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/dropout.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/dropout.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/conv.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/conv.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/conv.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/distance.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/distance.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/distance.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/distance.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/distance.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/dropout.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/dropout.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/dropout.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/embedding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/embedding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/embedding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/embedding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/embedding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/distance.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/distance.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/fold.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/fold.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/fold.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/fold.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/fold.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/embedding.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/embedding.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/linear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/fold.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/fold.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/loss.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/loss.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/loss.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/loss.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/loss.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/functional/linear.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/linear.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/padding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/padding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/padding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/padding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/padding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/loss.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/loss.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pixelshuffle.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pixelshuffle.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pixelshuffle.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pixelshuffle.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/pixelshuffle.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/padding.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/padding.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/pooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/pooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/pixelshuffle.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/pixelshuffle.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 90%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/rnn.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/rnn.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/rnn.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/rnn.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/rnn.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/pooling.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/pooling.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/upsampling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/upsampling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/upsampling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/upsampling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/upsampling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/rnn.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/rnn.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/transformer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/transformer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/transformer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/transformer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/transformer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/upsampling.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/upsampling.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/container/functional.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/container/functional.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/container/functional.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/modules/container/functional.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/container/functional.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/functional.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/container/functional.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/cloneable.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/functional.h:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/activation.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/activation.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/activation.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/activation.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/activation.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/init.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/modules/transformer.cpp:2: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/adaptive.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/adaptive.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/adaptive.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/adaptive.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/adaptive.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/activation.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/activation.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/batchnorm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/batchnorm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/batchnorm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/batchnorm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/batchnorm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/adaptive.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/adaptive.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/embedding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/embedding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/embedding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/embedding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/embedding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/batchnorm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/instancenorm.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/instancenorm.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/instancenorm.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/instancenorm.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/instancenorm.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/embedding.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/embedding.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/normalization.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/normalization.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/normalization.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/normalization.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/normalization.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/batchnorm.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/instancenorm.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/instancenorm.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/conv.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/conv.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/conv.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/conv.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/conv.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/normalization.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/normalization.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/dropout.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/dropout.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/dropout.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/dropout.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/dropout.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/conv.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/conv.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/linear.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/linear.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/linear.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/linear.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/linear.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/dropout.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/dropout.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/padding.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/padding.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/padding.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/padding.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/padding.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/linear.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/linear.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 91%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/pooling.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/pooling.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/pooling.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/pooling.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/pooling.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/padding.h:8, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/padding.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/rnn.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/rnn.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/rnn.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/rnn.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/rnn.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/pooling.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/pooling.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/vision.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/vision.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/vision.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/vision.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/vision.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/rnn.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/rnn.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/transformer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/transformer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/transformer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/nn/options/transformer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/transformer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/vision.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/vision.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adagrad.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adagrad.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adagrad.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adagrad.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adagrad.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ATen.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/options/transformer.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/nn/options/transformer.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adam.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adam.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adam.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adam.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adam.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/pimpl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/adagrad.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adagrad.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adamw.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adamw.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adamw.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/adamw.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adamw.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/adam.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adam.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(const std::tuple<_UTypes ...>&) [with Args = {double, double}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adam.cpp:30:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2083:85: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 2083 | std::move(c10::guts::apply(c10::ivalue::Tuple::create, t))) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2083:85: note: remove ‘std::move’ call [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/lbfgs.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/lbfgs.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/lbfgs.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/lbfgs.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/lbfgs.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/adamw.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adamw.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h: In instantiation of ‘c10::IValue::IValue(const std::tuple<_UTypes ...>&) [with Args = {double, double}; typename std::enable_if<(! std::disjunction..., std::negation >...>::value), std::nullptr_t>::type = nullptr]’: /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/adamw.cpp:29:3: required from here /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2083:85: warning: moving a temporary object prevents copy elision [-Wpessimizing-move] 2083 | std::move(c10::guts::apply(c10::ivalue::Tuple::create, t))) { | ^ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:2083:85: note: remove ‘std::move’ call [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/optimizer.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/optimizer.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/optimizer.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/optimizer.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/optimizer.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/lbfgs.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/lbfgs.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/rmsprop.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/rmsprop.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/rmsprop.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/rmsprop.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/rmsprop.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ScalarOps.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/TensorDataContainer.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/generated/variable_factories.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/optimizer.cpp:3: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/optimizer.cpp:5: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/serialize.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/serialize.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/serialize.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/serialize.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/serialize.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/serialize/input-archive.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/serialize/archive.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/serialize.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/serialize.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/sgd.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/sgd.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/sgd.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/sgd.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/sgd.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/rmsprop.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/rmsprop.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/schedulers/lr_scheduler.cpp [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/step_lr.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/step_lr.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/step_lr.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/optim/schedulers/step_lr.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/schedulers/step_lr.cpp [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/input-archive.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/input-archive.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/input-archive.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/input-archive.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/serialize/input-archive.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/Variadic.h:9, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/utils/variadic.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_value.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/modules/container/any_module_holder.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/nn/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/optim/sgd.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/optim/sgd.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/types.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/detail/static.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 92%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/output-archive.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/output-archive.cpp.o -MF CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/output-archive.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/torch/csrc/api/src/serialize/output-archive.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/serialize/output-archive.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/serialize/input-archive.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/serialize/input-archive.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/autograd/variable.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include/torch/serialize/output-archive.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/src/serialize/output-archive.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/OperatorEntry.h:12, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/Dispatcher.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/operator.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/ir/ir.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/function_impl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/method.h:7, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/object.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/api/module.h:4: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h: In lambda function: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:32: warning: possibly dangling reference to a temporary [-Wdangling-reference] 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/dispatch/DispatchKeyExtractor.h:154:61: note: the temporary was destroyed at the end of the full expression ‘__for_begin .c10::impl::ListIterator > >::operator*().c10::impl::ListElementReference > >::operator std::conditional_t()’ 154 | for (const at::Tensor& tensor : ivalue.toTensorList()) { | ^ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -Wno-deprecated-copy -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/airy_ai.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:19, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UpSampleKernelAVXAntialias.h:32, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UpSampleKernel.cpp:11, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 93%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnfoldBackward.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SumKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/StackKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX2.cpp [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexing.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceOpsUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 94%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PowKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/sum.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/HistogramKernel.cpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/FillKernel.cpp.AVX2.cpp [ 95%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/DistributionKernels.cpp:14, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorFactories.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ComplexKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/CatKernel.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/CatKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CatKernel.cpp.AVX2.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX2.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx2 -mfma -mno-avx256-split-unaligned-load -mno-avx256-split-unaligned-store -DCPU_CAPABILITY=AVX2 -DCPU_CAPABILITY_AVX2 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX2.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX2.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX2.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/Activation.cpp.AVX2.cpp [ 96%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/UfuncCPUKernel_add.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -Wno-deprecated-copy -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/spherical_bessel_j0.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/scaled_modified_bessel_k1.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/scaled_modified_bessel_k0.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/quantized/cpu/kernels/QuantizedOpKernels.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/layer_norm_kernel.cpp:19, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/layer_norm_kernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/batch_norm_kernel.cpp:19, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/batch_norm_kernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/airy_ai.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/airy_ai.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/group_norm_kernel.cpp:21, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/group_norm_kernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/WeightNormKernel.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleMoreKernel.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/arange.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/UnfoldBackward.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp:6, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnfoldBackwardKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/Unfold2d.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/UpSampleKernel.cpp:16, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UpSampleKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 97%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/UnaryOpsKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/TensorCompareKernel.cpp:16, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/TensorCompareKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SumKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SumKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/StackKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/StackKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SparseFactories.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SortingKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SpmmReduceKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SoftMaxKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/view.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/ExpandUtils.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/SampledAddmmKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/RenormKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue_inl.h:10, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/ivalue.h:1467, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List_inl.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/List.h:494, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorAdvancedIndexing.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ScatterGatherKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ReduceOpsUtils.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceAllOpsKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/RangeFactoriesKernel.cpp.AVX512.cpp [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PowKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PowKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/WrapDimUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/TensorNames.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/NamedTensorUtils.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/ResizeCommon.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/Resize.h:4, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ReduceOpsKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 98%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PointwiseOpsKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/PixelShuffleKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxUnpoolKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/MultinomialKernel.cpp:15, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MultinomialKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxPooling.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/MaxPoolKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/LinearAlgebraKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/LerpKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/IndexKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/sum.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/HistogramKernel.cpp:13, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/HistogramKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/GridSamplerKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/FunctionOfAMatrixUtilsKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/FillKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/FillKernel.cpp.AVX512.cpp [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/DistributionKernels.cpp:14, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistributionKernels.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [ 99%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DistanceOpsKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CrossKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/empty.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp:10, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/DepthwiseConvKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CopyKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/DeviceGuard.h:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/ops/scalar_tensor.h:6, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/TensorFactories.h:11, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/ComplexKernel.cpp:3, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ComplexKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/ChannelShuffleKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp In file included from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef.h:632, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/CatKernel.h:5, from /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/cpu/CatKernel.cpp:5, from /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/CatKernel.cpp.AVX512.cpp:1: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h: In static member function ‘static c10::detail::IListRefConstRef c10::detail::IListRefTagImpl::iterator_get(const c10::List >::const_iterator&)’: /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:17: warning: possibly dangling reference to a temporary [-Wdangling-reference] 171 | const auto& ivalue = (*it).get(); | ^~~~~~ /builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/core/IListRef_inl.h:171:35: note: the temporary was destroyed at the end of the full expression ‘(& it)->c10::impl::ListIterator, __gnu_cxx::__normal_iterator > >::operator*().c10::impl::ListElementReference, __gnu_cxx::__normal_iterator > >::get()’ 171 | const auto& ivalue = (*it).get(); | ~~~~~~~~~^~ [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/BlasKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/BinaryOpsKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AvgPoolKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AdaptiveMaxPoolKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/AdaptiveAvgPoolKernel.cpp.AVX512.cpp [100%] Building CXX object caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX512.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DAT_PER_OPERATOR_HEADERS -DFMT_HEADER_ONLY=1 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_cpu_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src/TH -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/../aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/miniz-2.1.0 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/kineto/libkineto/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/../third_party/catch/single_include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/.. -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/pthreadpool/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/include -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src/ATen/native/quantized/cpu/qnnpack/src -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/QNNPACK/deps/clog/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/src/ittnotify -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/FP16/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/fmt/include -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/flatbuffers/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -isystem /builddir/build/BUILD/pytorch-v2.0.1/caffe2 -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -Wall -Wextra -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-missing-field-initializers -Wno-write-strings -Wno-unknown-pragmas -Wno-type-limits -Wno-array-bounds -Wno-sign-compare -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-missing-braces -Wno-maybe-uninitialized -fvisibility=hidden -O2 -DCAFFE2_BUILD_MAIN_LIB -pthread -fopenmp -O3 -mavx512f -mavx512bw -mavx512vl -mavx512dq -mfma -DCPU_CAPABILITY=AVX512 -DCPU_CAPABILITY_AVX512 -MD -MT caffe2/CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX512.cpp.o -MF CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX512.cpp.o.d -o CMakeFiles/torch_cpu.dir/__/aten/src/ATen/native/cpu/Activation.cpp.AVX512.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src/ATen/native/cpu/Activation.cpp.AVX512.cpp [100%] Linking CXX shared library ../lib/libtorch_cpu.so cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/torch_cpu.dir/link.txt --verbose=1 /usr/lib64/ccache/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--no-as-needed -rdynamic -shared -Wl,-soname,libtorch_cpu.so -o ../lib/libtorch_cpu.so @CMakeFiles/torch_cpu.dir/objects1.rsp -Wl,-rpath,/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib: /usr/lib64/libprotobuf.so ../lib/libpthreadpool.a ../lib/libqnnpack.a ../lib/libpytorch_qnnpack.a ../lib/libittnotify.a ../lib/libgloo.a ../lib/libfoxi_loader.a -lrt -lgcc_s -lgcc -ldl /usr/lib64/libblas.a /usr/lib64/liblapack.a -lrt -lm /usr/lib64/libcpuinfo.so -lsleef -Wl,--whole-archive,"/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib/libcaffe2_protos.a" -Wl,--no-whole-archive ../lib/libpthreadpool.a ../lib/libclog.a /usr/lib/gcc/x86_64-redhat-linux/13/libgomp.so /usr/lib64/libpthread.a -lpthread -lgcc_s -lgcc -ldl -lm -lsleef /usr/lib64/libblas.a -Wl,--whole-archive,"/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib/libonnx.a" -Wl,--no-whole-archive ../lib/libonnx_proto.a /usr/lib64/libprotobuf.so -Wl,--whole-archive,"/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib/libCaffe2_perfkernels_avx.a" -Wl,--no-whole-archive -Wl,--whole-archive,"/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib/libCaffe2_perfkernels_avx2.a" -Wl,--no-whole-archive ../lib/libc10.so -Wl,--whole-archive,"/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib/libCaffe2_perfkernels_avx512.a" -Wl,--no-whole-archive In function ‘make_unique’, inlined from ‘allocate’ at /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.h:1131:0, inlined from ‘__ct ’ at /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.h:1116:0, inlined from ‘__ct_base ’ at /builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/jit/runtime/static/impl.cpp:2138:0: /usr/include/c++/13/bits/unique_ptr.h:1085: warning: argument 1 value ‘18446744073709551615’ exceeds maximum object size 9223372036854775807 [-Walloc-size-larger-than=] 1085 | { return unique_ptr<_Tp>(new remove_extent_t<_Tp>[__num]()); } | /usr/include/c++/13/new: In member function ‘__ct_base ’: /usr/include/c++/13/new:128:26: note: in a call to allocation function ‘operator new []’ declared here 128 | _GLIBCXX_NODISCARD void* operator new[](std::size_t) _GLIBCXX_THROW (std::bad_alloc) | ^ gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [100%] Built target torch_cpu /usr/bin/gmake -f caffe2/CMakeFiles/torch.dir/build.make caffe2/CMakeFiles/torch.dir/depend gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build && /usr/bin/cmake -E cmake_depends "Unix Makefiles" /builddir/build/BUILD/pytorch-v2.0.1 /builddir/build/BUILD/pytorch-v2.0.1/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2/CMakeFiles/torch.dir/DependInfo.cmake "--color=" gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/gmake -f caffe2/CMakeFiles/torch.dir/build.make caffe2/CMakeFiles/torch.dir/build gmake[2]: Entering directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [100%] Building CXX object caffe2/CMakeFiles/torch.dir/__/empty.cpp.o cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/ccache /usr/lib64/ccache/g++ -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DMINIZ_DISABLE_ZIP_READER_CRC32_CHECKS -DONNXIFI_ENABLE_EXT=1 -DONNX_NAMESPACE=onnx_torch -DUSE_C10D_GLOO -DUSE_DISTRIBUTED -DUSE_EXTERNAL_MZCRC -DUSE_RPC -D_FILE_OFFSET_BITS=64 -Dtorch_EXPORTS -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/aten/src -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build -I/builddir/build/BUILD/pytorch-v2.0.1 -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/onnx -I/builddir/build/BUILD/pytorch-v2.0.1/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/foxi -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api -I/builddir/build/BUILD/pytorch-v2.0.1/torch/csrc/api/include -I/builddir/build/BUILD/pytorch-v2.0.1/c10/.. -isystem /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/gloo -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/gemmlowp -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/neon2sse -isystem /builddir/build/BUILD/pytorch-v2.0.1/third_party/ittapi/include -isystem /builddir/build/BUILD/pytorch-v2.0.1/cmake/../third_party/eigen -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -std=gnu++17 -fPIC -DCAFFE2_USE_GLOO -DTH_HAVE_THREAD -MD -MT caffe2/CMakeFiles/torch.dir/__/empty.cpp.o -MF CMakeFiles/torch.dir/__/empty.cpp.o.d -o CMakeFiles/torch.dir/__/empty.cpp.o -c /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/empty.cpp [100%] Linking CXX shared library ../lib/libtorch.so cd /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/caffe2 && /usr/bin/cmake -E cmake_link_script CMakeFiles/torch.dir/link.txt --verbose=1 /usr/lib64/ccache/g++ -fPIC -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_GLIBCXX_USE_CXX11_ABI=1 -Wno-deprecated -fvisibility-inlines-hidden -DUSE_PTHREADPOOL -DNDEBUG -DUSE_QNNPACK -DUSE_PYTORCH_QNNPACK -DSYMBOLICATE_MOBILE_DEBUG_HANDLE -O2 -fPIC -Wall -Wextra -Werror=return-type -Werror=non-virtual-dtor -Werror=range-loop-construct -Werror=bool-operation -Wnarrowing -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wunused-local-typedefs -Wno-unused-parameter -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-stringop-overflow -Wno-psabi -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -fdiagnostics-color=always -faligned-new -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -Werror=format -Werror=cast-function-type -Wno-stringop-overflow -DHAVE_AVX512_CPU_DEFINITION -DHAVE_AVX2_CPU_DEFINITION -DNDEBUG -DNDEBUG -Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes -Wl,--no-as-needed -rdynamic -shared -Wl,-soname,libtorch.so -o ../lib/libtorch.so CMakeFiles/torch.dir/__/empty.cpp.o -Wl,-rpath,/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib: -Wl,--no-as-needed,"/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/lib/libtorch_cpu.so" -Wl,--as-needed /usr/lib64/libprotobuf.so ../lib/libc10.so gmake[2]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' [100%] Built target torch gmake[1]: Leaving directory '/builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build' /usr/bin/cmake -E cmake_progress_start /builddir/build/BUILD/pytorch-v2.0.1/redhat-linux-build/CMakeFiles 0 + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.Tmvvoz + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 ++ dirname /builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -m64 -march=x86-64-v3 -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cforce-frame-pointers=yes -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd pytorch-v2.0.1 + DESTDIR=/builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 + /usr/bin/cmake --install redhat-linux-build -- Install configuration: "Release" -- Set runtime path of "/builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64/usr/lib/libc10.so" to "$ORIGIN" -- Set runtime path of "/builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64/usr/lib/libtorch_cpu.so" to "$ORIGIN" -- Set runtime path of "/builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64/usr/lib/libtorch.so" to "$ORIGIN" -- Set runtime path of "/builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64/usr/lib/libtorch_global_deps.so" to "$ORIGIN" + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j2 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: pytorch-2.0.1-10.fc40.x86_64 Provides: cmake(ATen) cmake(Caffe2) = 2.0.0 cmake(Torch) = 2.0.0 cmake(aten) cmake(caffe2) = 2.0.0 cmake(torch) = 2.0.0 libc10.so()(64bit) libtorch.so()(64bit) libtorch_cpu.so()(64bit) libtorch_global_deps.so()(64bit) pytorch = 2.0.1-10.fc40 pytorch(x86-64) = 2.0.1-10.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cmake-filesystem ld-linux-x86-64.so.2()(64bit) ld-linux-x86-64.so.2(GLIBC_2.3)(64bit) libc.so.6()(64bit) libc.so.6(GLIBC_2.11)(64bit) libc.so.6(GLIBC_2.14)(64bit) libc.so.6(GLIBC_2.16)(64bit) libc.so.6(GLIBC_2.17)(64bit) libc.so.6(GLIBC_2.2.5)(64bit) libc.so.6(GLIBC_2.28)(64bit) libc.so.6(GLIBC_2.3)(64bit) libc.so.6(GLIBC_2.3.2)(64bit) libc.so.6(GLIBC_2.3.4)(64bit) libc.so.6(GLIBC_2.32)(64bit) libc.so.6(GLIBC_2.33)(64bit) libc.so.6(GLIBC_2.34)(64bit) libc.so.6(GLIBC_2.38)(64bit) libc.so.6(GLIBC_2.4)(64bit) libc10.so()(64bit) libcpuinfo.so.23.2.14()(64bit) libgcc_s.so.1()(64bit) libgcc_s.so.1(GCC_3.0)(64bit) libgcc_s.so.1(GCC_3.3.1)(64bit) libgcc_s.so.1(GCC_4.0.0)(64bit) libgomp.so.1()(64bit) libgomp.so.1(GOMP_1.0)(64bit) libgomp.so.1(GOMP_4.0)(64bit) libgomp.so.1(OMP_1.0)(64bit) libm.so.6()(64bit) libm.so.6(GLIBC_2.2.5)(64bit) libm.so.6(GLIBC_2.23)(64bit) libm.so.6(GLIBC_2.27)(64bit) libm.so.6(GLIBC_2.29)(64bit) libm.so.6(GLIBC_2.35)(64bit) libprotobuf.so.30()(64bit) libsleef.so.3()(64bit) libstdc++.so.6()(64bit) libstdc++.so.6(CXXABI_1.3)(64bit) libstdc++.so.6(CXXABI_1.3.11)(64bit) libstdc++.so.6(CXXABI_1.3.13)(64bit) libstdc++.so.6(CXXABI_1.3.2)(64bit) libstdc++.so.6(CXXABI_1.3.3)(64bit) libstdc++.so.6(CXXABI_1.3.5)(64bit) libstdc++.so.6(CXXABI_1.3.7)(64bit) libstdc++.so.6(CXXABI_1.3.8)(64bit) libstdc++.so.6(CXXABI_1.3.9)(64bit) libstdc++.so.6(GLIBCXX_3.4)(64bit) libstdc++.so.6(GLIBCXX_3.4.11)(64bit) libstdc++.so.6(GLIBCXX_3.4.14)(64bit) libstdc++.so.6(GLIBCXX_3.4.15)(64bit) libstdc++.so.6(GLIBCXX_3.4.17)(64bit) libstdc++.so.6(GLIBCXX_3.4.18)(64bit) libstdc++.so.6(GLIBCXX_3.4.19)(64bit) libstdc++.so.6(GLIBCXX_3.4.20)(64bit) libstdc++.so.6(GLIBCXX_3.4.21)(64bit) libstdc++.so.6(GLIBCXX_3.4.22)(64bit) libstdc++.so.6(GLIBCXX_3.4.26)(64bit) libstdc++.so.6(GLIBCXX_3.4.29)(64bit) libstdc++.so.6(GLIBCXX_3.4.30)(64bit) libstdc++.so.6(GLIBCXX_3.4.32)(64bit) libstdc++.so.6(GLIBCXX_3.4.5)(64bit) libstdc++.so.6(GLIBCXX_3.4.9)(64bit) libtorch_cpu.so()(64bit) rtld(GNU_HASH) Processing files: pytorch-devel-2.0.1-10.fc40.x86_64 Provides: pytorch-devel = 2.0.1-10.fc40 pytorch-devel(x86-64) = 2.0.1-10.fc40 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 Wrote: /builddir/build/RPMS/pytorch-devel-2.0.1-10.fc40.x86_64.rpm Wrote: /builddir/build/RPMS/pytorch-2.0.1-10.fc40.x86_64.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.NG8EeN + umask 022 + cd /builddir/build/BUILD + cd pytorch-v2.0.1 + /usr/bin/rm -rf /builddir/build/BUILDROOT/pytorch-2.0.1-10.fc40.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.23SHc3 + umask 022 + cd /builddir/build/BUILD + rm -rf /builddir/build/BUILD/pytorch-v2.0.1-SPECPARTS + rm -rf pytorch-v2.0.1 pytorch-v2.0.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Finish: rpmbuild pytorch-2.0.1-10.fc40.src.rpm Finish: build phase for pytorch-2.0.1-10.fc40.src.rpm INFO: chroot_scan: 3 files copied to /var/lib/copr-rpmbuild/results/chroot_scan INFO: /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root/var/log/dnf.rpm.log /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root/var/log/dnf.librepo.log /var/lib/mock/fedora-rawhide-x86_64-1694480301.783496/root/var/log/dnf.log INFO: Done(/var/lib/copr-rpmbuild/results/pytorch-2.0.1-10.fc40.src.rpm) Config(child) 139 minutes 15 seconds INFO: Results and/or logs in: /var/lib/copr-rpmbuild/results INFO: Cleaning up build root ('cleanup_on_success=True') Start: clean chroot INFO: unmounting tmpfs. Finish: clean chroot Finish: run Running FedoraReview tool Running: fedora-review --no-colors --prebuilt --rpm-spec --name pytorch --mock-config /var/lib/copr-rpmbuild/results/configs/child.cfg cmd: ['fedora-review', '--no-colors', '--prebuilt', '--rpm-spec', '--name', 'pytorch', '--mock-config', '/var/lib/copr-rpmbuild/results/configs/child.cfg'] cwd: /var/lib/copr-rpmbuild/results rc: 0 stdout: Review template in: /var/lib/copr-rpmbuild/results/pytorch/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them. stderr: INFO: Processing local files: pytorch INFO: Getting .spec and .srpm Urls from : Local files in /var/lib/copr-rpmbuild/results INFO: --> SRPM url: file:///var/lib/copr-rpmbuild/results/pytorch-2.0.1-10.fc40.src.rpm INFO: Using review directory: /var/lib/copr-rpmbuild/results/pytorch INFO: Downloading (Source0): https://github.com/pytorch/pytorch/releases/download/v2.0.1/pytorch-v2.0.1.tar.gz INFO: Running checks and generating report INFO: Installing built package(s) INFO: Reading configuration from /etc/mock/site-defaults.cfg INFO: Reading configuration from /etc/mock/chroot-aliases.cfg INFO: Reading configuration from /var/lib/copr-rpmbuild/results/configs/child.cfg INFO: Active plugins: Shell-api, C/C++, Generic Last metadata expiration check: 0:00:20 ago on Tue Sep 12 03:20:57 2023. Last metadata expiration check: 0:08:45 ago on Tue Sep 12 03:20:57 2023. Package basesystem-11-18.fc39.noarch contains no files Package glibc-minimal-langpack-2.38.9000-7.fc40.x86_64 contains no files Last metadata expiration check: 0:12:06 ago on Tue Sep 12 03:20:57 2023. Package basesystem-11-18.fc39.noarch contains no files Package glibc-minimal-langpack-2.38.9000-7.fc40.x86_64 contains no files INFO: ExclusiveArch dependency checking disabled, enable with EXARCH flag Review template in: /var/lib/copr-rpmbuild/results/pytorch/review.txt fedora-review is automated tool, but *YOU* are responsible for manually reviewing the results and finishing the review. Do not just copy-paste the results without understanding them. Moving the results into `fedora-review' directory. Review template in: /var/lib/copr-rpmbuild/results/fedora-review/review.txt FedoraReview finished Running RPMResults tool Package info: { "packages": [ { "name": "pytorch-devel", "epoch": null, "version": "2.0.1", "release": "10.fc40", "arch": "x86_64" }, { "name": "pytorch", "epoch": null, "version": "2.0.1", "release": "10.fc40", "arch": "src" }, { "name": "pytorch", "epoch": null, "version": "2.0.1", "release": "10.fc40", "arch": "x86_64" } ] } RPMResults finished